6

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.

5

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

| improve this answer | |
  • 1
    I also found that the endpoint https://test.salesforce.com/services/Soap/T/35.0 works for sandboxes in general. – abhi Dec 30 '15 at 19:39
1

You might want to try

https://server-api.salesforce.com/services/Soap/tooling/27.0/orgId

And here are some more characters to get over the 30 character minimum.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.