Sign up ×
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It's 100% free, no registration required.

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

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="" xmlns:urn="">

Response looks like:

<?xml version="1.0" ?>
<soapenv:Envelope xmlns:soapenv="">
      <faultstring>No operation available for request {}describeSObject</faultstring>

What am I missing?

share|improve this question

1 Answer 1

up vote 4 down vote accepted

You have a typo in the xml namespace, you have


it should be

share|improve this answer
Does indeed work now. Fail :( Thanks – leighman Feb 7 '13 at 16:59

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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