+ Start a Discussion

Is there any relevant documentation on SOAP API v 31?

Hi all,

I used to work with enterprise and partner SF API a couple of years ago and it used to be so easy. But now I can't make it work after login and the documentation doesn't help at all.

The error I'm getting is the following:
UNKNOWN_EXCEPTION: Destination URL not reset. The URL returned from login must be set in the SforceService

I do realize I'm getting it back in my loginresult but the documentation doesn't tell me how to set it. Examples show completely different reference! For instance, here http://www.salesforce.com/us/developer/docs/api/.

Even the login call is different, the docs example say login(username, password) but my service reference wants three arguments, it also needs LoginScopeHeader (however passing a null instead of it still work).

Can please someone point me to the relevant source of information here? Or do I have to dig into wsdl?..

Thanks in advance

Cledson PachecoCledson Pacheco
anchovies,good night.

I have this problem too. Did you find any solution?

I have finally found the solution, here: https://developer.salesforce.com/forums?id=906F00000008rgQIAQ

You have to add the service as a web reference, not service reference :)