You need to sign in to do that
Don't have an account?
Getting exception while using salesforce webservice API 9.0
Hi,
We are using SalesForce webservices URL in one of our application. We are using API version 9.0 and it was working fine. All of a sudden we started getting the following error. Does anybody know why this is happening and how to resolve this issue?
Is this API URL changed? Does anybody know which community we need to subscribe on to get the information (announcements) about API changes?
Thanks in advance for your help.
Thanks
---------
09:35:18,708 INFO [soap] Username is :username
09:35:18,708 INFO [soap] Password is :password
09:35:18,724 INFO [soap] Creating the binding to the web service...
09:35:19,739 INFO [soap] LOGGING IN NOW....
09:35:21,083 INFO [soap]
The session id is: 473400D500000007cBU!ARgAQPyzDhS3hjBlWIK0z3GyPmyKT4vUrryI7nbxglDye2KTlba5yP0Kj8YXsNqE7E4Qc.aDu3tBS56uPkE4W4QEXbOIPWrb
09:35:21,114 INFO [soap]
The new server url is: https://na3-api.salesforce.com/services/Soap/u/8.0/473400D500000007cBU
09:35:21,646 ERROR [STDERR] java.lang.NullPointerException
http://wiki.apexdevnet.com/index.php/What%27s_New_in_Force.com_Web_Services_API_Spring_%2708
Hi Simon,
My apologies for the mistake!
The NPE exception was thrown from one of our java classes, which was due to non-existence of an expected data in our return object.
We have an application which talks to multiple systems like Intec (Billing), Salesforce (CRM). In our account creation process we use the salesforce webservice API (version 8.0) to create an entry in Salesforce. [My apologies, it was not 9.0 but it is 8.0 version.]
The webservice call was throwing the below information and there after a NPE onn our server logs. So I assumed that this was due to the above information but that’s not the case.
We have the same version of code [code with client classes generated against WDSL 8.0] deployed on our Test server [we have test/ qa / prod server] which was giving the same information [The new server url is: https://na3-api.salesforce.com/services/Soap/u/8.0/473400D500000007cBU] but the salesforce method call is still working fine.
So this is not a Salesforce Webservice API issue rather it’s a coding issue at our side. So please ignore my post.
Thanks for looking into this issue and I appreciate your support.
Once again, sorry for my post and the misleading information.
Thanks