Showing posts with label API. Show all posts
Showing posts with label API. Show all posts

Nov 23, 2010

Axis2 WSDL2Java to work with Salesforce API

Hi All,
After drilling down the web i have found a several ways to generate the java classes from Salesforce wsdl. I decided to publish this because i had enought.
I am using the partner.wsdl from salesforce, Myeclipse 6.5, and maven.
This what i have found, if you have anything to say write a comment, its important:
Don't forgot the add the axis2 directory to you path.
1) %AXIS2_HOME%\bin\wsdl2java -Eofv -g -uw -u -uri c:\salesforces\partner.wsdl -o c:\salesforce\generate -p com.test.salesforce
2) %AXIS2_HOME%\bin\wsdl2java -uri c:\salesforce\partner.wsdl -l java -d xmlbeans -p com.test.salesforce -sn SforceService -o c:\salesforce\generate
Bye,
Dor

WARNING: Application does not specify an API level requirement!

Using Eclipse 3.6, My application is for Froyo and according to this link (click here) i need 8 as the minimum sdk version number.
Add this tag below to your manifest file, usually named like "AndroidManifest.xml"
<uses-sdk android:minSdkVersion="8" />