Search In This Blog

2020-04-01

Soap Api: Services url is different between Partner WSDL and Enterprise WSDL

Partner WSDL: services/Soap/u/
Enterprise WSDL: services/Soap/c/

Example:
<?xml version="1.0" encoding="utf-8" ?>
<env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
  <env:Body>
    <n1:login xmlns:n1="urn:partner.soap.sforce.com">
      <n1:username>your_username</n1:username>
      <n1:password>your_password</n1:password>
    </n1:login>
  </env:Body>
</env:Envelope>

https://login.salesforce.com/services/Soap/u/48.0