function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
BasilBasil 

Setup Eclipse with Apache Axis and and others ... (I'm a new user)

I'm trying to setup eclipse ...
I had already dowloaded :

  j2sdk1.4.2_04
  j2sdjee1.3.1

also

  axis1_1.zip
                    http://ws.apache.org/axis/releases.html
  WSDL2Java eclipse plugin (com.myspotter.wsdl2java.zip)
                    http://www.eclipse-plugins.info/eclipse/plugin_details.jsp?id=349
  WSDL2JavaWizard (org.apache.axis_1.1.zip & org.apache.axis.wsdl2java.eclipse_1.1-rc2.0.2.zip)
                    http://www.eclipse-plugins.info/eclipse/plugin_details.jsp?id=316
  tomcat 5.0.19.exe
                    http://jakarta.apache.org/site/binindex.cgi
  tomcatPluginV221.zip for eclipse
                    http://www.sysdeo.com/eclipse/tomcatPluginFR.html (french site !!!)

HONESTLY, I'm LOST right now and can't figure out the different steps to setup eclipse and be able to start using sforce API

In the API documentation, it is said :

"Before you run WSDL2Java, you must have Axis installed on your system and all of its
component JAR files must be referenced in your classpath.
The basic syntax for WSDL2Java is:
java �classpath=pathToFirstJAR/FirstJARFilename ; pathToSecondJAR/SecondJARFilename
org.apache.axis.wsdl.WSDL2Java pathToWsdl/WsdlFilename
For sforce WSDL files, specific switches are recommended to configure WSDL2Java to use
SOAP 1.2 encoding and to generate unreferenced object proxies. The following sample command
uses these switches:
java �classpath=pathToFirstJAR/FirstJARFilename ; pathToSecondJAR/SecondJARFilename
org.apache.axis.wsdl.WSDL2Java -a -T 1.2 pathToWsdl/WsdlFilename"

Is there any way to execute that with eclipse ?

If somebody can help me and give me the directions step by step, I will realy appreciate

Eclipse is already isntalled and work, just need to be guided to setup the differents plugins and parameters in eclipse and where to import the WSDL File (already generated).

Regards

adamgadamg
Good question!

on http://sforce.sourceforge.net/, at the bottom, you'll find an updated WSDL2Java plugin that works with Eclipse to generate the proxies correctly. Let me know if you have any questions/issues.

(Tip: D/l the WSDL file, rename it with it .wsdl extension, and import it into your project. Then after you have installed the plugin listed above, right click to generate the proxies..)
BasilBasil
Thank you adamg !
munixmunix

How about set up in Netbeans? Anyone knows how? Thanks.