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
desmatdesmat 

How to pass sessionID & serverUrl in webMethods ?

Hi,

I'm new with the sforce API and I'm working with webMethods. I imported the wsdl into wM and I now have access to the API functions. I'm calling login and it's returning a loginResponse with the correct results but there's no way to pass the sessiondID and the serverUrl to any other sforce functions. Anybody has done this under wM ?

Thanks...
DevAngelDevAngel

Hi desmat,

I'm not familiar with wM, but what needs to be done is to set a SOAP header for each subsequent call that includes the session id.  The serverUrl returned needs to be used as the endpoint for all subsequent SOAP requests.

MayurMayur
Hi desmat, We and many others are also facing the same problem. If you are able to connect and call services of salesforce through webmethod, can you please explain the steps over here. If possible can send me the code to connect and execute queryall and other functions api. Thanks and Regards, Mayur