0

What is the endpoint to POST

<env:Envelope
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> some content </env:Envelope>

1 Answer 1

1

You don't send the SOAP POST requests to any of those URLs. They are XML namespaces - see Why are URLs in XML namespaces?.

For the initial login() call you should use the endpoints defined in the docs:

"https://login.salesforce.com/services/Soap/u/version/"

E.g. You need to replace "version" with the actual API version. https://login.salesforce.com/services/Soap/u/49.0. You will typically see this endpoint address in the <soap:address location> at the end of the WSDL.

The LoginResult that gets returned from the login() API call will include a serverURL. All subsequent API requests need to go to that URL and include the sessionId in the header.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .