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
NewhereNewhere 

Cannot Login to Salesforce: getting javax.xml.rpc.ServiceException error

Hi,
I am able to sucessfully connect to Salesforce via the sForce API from my local workstation.
But whenever I run the same from the QA servers, it gives me the following error

The exception.getmessage()  returns null.

This is the StackTrace.


javax.xml.rpc.ServiceException
at com.sforce.soap.enterprise.SforceServiceLocator.getSoap(SforceServiceLocator.java:52)
at com.availity.tracker.crmload.SFLoadAccounts.LoginToSF(SFLoadAccounts.java:1096)
at com.availity.tracker.crmload.SFLoadAccounts.startProcess(SFLoadAccounts.java:157)
at com.availity.tracker.crmload.SFLoadAccounts.<init>(SFLoadAccounts.java:112)
at com.availity.tracker.crmload.SFLoadAccounts.main(SFLoadAccounts.java:106)

Can you please suggest why this is happening.

Thanks

Preeti

NewhereNewhere

Hi,

I found the solution to the problem I put up above.It was bcoz the Server had a different version of JDK installed. Hopw this helps somebody else.

Thanks.