[SalesForce] the URL for using the Tooling API via SOAP

What is the URL for using the Tooling API via SOAP?

If I already have a valid Session Id I can start using the API directly: E.g.

  • Enterprise API:
    https://server-api.salesforce.com/services/Soap/c/27.0/orgId
  • Partner API:
    https://server-api.salesforce.com/services/Soap/u/27.0/orgId
  • Metadata API:
    https://server-api.salesforce.com/services/Soap/m/27.0/orgId
    Note this is easy to get using the LoginResult.metadataServerUrl
  • Apex API:
    https://server-api.salesforce.com/services/Soap/s/27.0
  • Tooling API:
    https://server-api.salesforce.com/services/Soap/?/27.0/orgId

I've tried (as a guess) https://server-api.salesforce.com/services/Soap/t/27.0/orgId, but it didn't work.

Best Answer

For my general development org, the end point described in the Tooling API WSDL is as follows. So you where close, not sure if the capital T makes a difference, it may.

https://na11-api.salesforce.com/services/Soap/T/27.0

If you goto the API page under Setup, you can download the WSDL (Web Service Definition Language)

enter image description here

enter image description here

Related Topic