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
VPVP 

Session id obtained from weblink, okay if serverURL not set in SoapBindingStub?

We are integrating using weblinks, so username and session id (but not password) is passed through weblink. So we do not need to login using api - so their is no server url from the login result to update in the SoapBindingStub. Is that okay?

Also generally what is the concept behind this server url updation even in cases where you do login i.e. why can't we continue to use the general endpoint address that was used to setup the binding? Is it for reasons of load balancing on SFDC side)?


- Thanks.
SuperfellSuperfell
There's a merge field you can add to your weblink to get the ServerURL.
VPVP
Thanks. Saw that their is a Ent Svr 6.0 URL and a Partner 6.0 Svr URL. Does it really matter which one I use? Is it tied to the ent/partner wsdl I use?
SuperfellSuperfell
Yes it matters, use the one that matches the WSDL you coded against.