I am trying to access Salesforce via the SOAP API (at the moment just using the python requests library). I have a developer account.

I am trying to use an existing OAuth access token as described in http://blogs.developerforce.com/developer-relations/2011/03/oauth-and-the-soap-api.html

I have an HTTP POST request with headers

SOAPAction: ""
Content-Type: text/xml; charset=utf-8

I am using the url from the "partner" member of the id response as in the blog post. Tried with both




A sample query body looks like:

<?xml version="1.0" ?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:parner.soap.sforce.com">

Response looks like:

<?xml version="1.0" ?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
      <faultstring>No operation available for request {urn:parner.soap.sforce.com}describeSObject</faultstring>

What am I missing?


You have a typo in the xml namespace, you have


it should be

| 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.