You need to sign in to do that
Don't have an account?
Baloodevil
Problem getting Metadata API working
I am trying to work with the salesforce metadata programmatically. I created a new java project with the sample code listed here.
I downloaded the Enterprise WSDL and Metadata WSDL, then used WSC to create java proxy classes. Then I included those jars in my project using Eclipse (SpringSource Tool Suite to be precise). Including those resolved *almost* all the import references in the sample code, except...
import com.sforce.ws.ConnectorConfig;
import com.sforce.ws.ConnectionException;
I tried downloading the delegated authentication WSDL as well, but that didn't resolve these imports. Where are these classes coming from? A WSDL or something else?
Thanks in advance.
from wsc-{version}.jar
All Answers
from wsc-{version}.jar
Hi Simon,
Thanks for your response. I was using the wsc-20.jar to generate the jars from the wsdls. I didn't realize I also needed to include a reference to wsc-20.jar in the project.