You need to sign in to do that
Don't have an account?
SaintMichael
Unabale to locate ConnectorConfig
I'm trying to use ConnectorConfig to make Java based API calles, but the ConnectorConfig class is missing.
I have the wsc-20.jar in my path, but still no good.
The following imports cause errors in eclipse:
import com.sforce.ws.ConnectorConfig;
import com.sforce.ws.ConnectionException;
Any ideas?
Ok, it seems to work now. I re-installed the jar file and now eclipse is seeing it properly now.
Not sure what that was all about?
But I'm fine now!
All Answers
Which version of the JDK do you have? The pre-generated wsc-20.jar can only run on JDK 1.6, but you can build a new jar that can run on JDK 1.5. Here are the instructions:
http://code.google.com/p/sfdc-wsc/wiki/GettingStarted
I'm using 1.6 but still getting errors.
Ok. Just to be sure, have you generated either the enterprise or the partner jar file from the wsc-20.jar?
Also, post your source code if possible.
Ok, it seems to work now. I re-installed the jar file and now eclipse is seeing it properly now.
Not sure what that was all about?
But I'm fine now!