Posted in Salesforce

Connecting Java to Salesforce

Force.com Web Services Connector(WSC)

https://developer.salesforce.com/page/Introduction_to_the_Force.com_Web_Services_Connector

Generate .jar from WSDL

java -classpath .\ST4-4.0.8.jar;.\wsc-40.jar;.\antlr-runtime-3.4.jar com.sforce.ws.tools.wsdlc enterprise.wsdl enterprise.jar

CMD screenshot.PNG

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s