I'm sending this SOAP request (with the passwords x-ed out):

<?xml version="1.0" encoding="UTF-8"?>

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/
envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
  <soapenv:Header>
    <ns1:email soapenv:actor="http://schemas.xmlsoap.org/soap/actor/
next" soapenv:mustUnderstand="0" xmlns:ns1="https://adwords.google.com/
api/adwords/v12">[EMAIL PROTECTED]</ns1:email>
    <ns2:password soapenv:actor="http://schemas.xmlsoap.org/soap/actor/
next" soapenv:mustUnderstand="0" xmlns:ns2="https://adwords.google.com/
api/adwords/v12">xxxxx</ns2:password>
    <ns3:developerToken soapenv:actor="http://schemas.xmlsoap.org/soap/
actor/next" soapenv:mustUnderstand="0" xmlns:ns3="https://
adwords.google.com/api/adwords/v12">xxxxxx</ns3:developerToken>
    <ns4:applicationToken soapenv:actor="http://schemas.xmlsoap.org/
soap/actor/next" soapenv:mustUnderstand="0" xmlns:ns4="https://
adwords.google.com/api/adwords/v12">xxxxxxx</ns4:applicationToken>
    <ns5:useragent soapenv:actor="http://schemas.xmlsoap.org/soap/
actor/next" soapenv:mustUnderstand="0" xmlns:ns5="https://
adwords.google.com/api/adwords/v12">AdWords API Java Client Library
v2.1.0: Test</ns5:useragent>
  </soapenv:Header>
  <soapenv:Body>
  <getAllAdWordsCampaigns xmlns="https://adwords.google.com/api/
adwords/v12"><dummy>1</dummy></getAllAdWordsCampaigns>
  </soapenv:Body>
</soapenv:Envelope>

And getting this response:
<?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:xsi="http://
www.w3.org/2001/XMLSchema-instance">
 <soapenv:Body>
  <soapenv:Fault>
   <faultcode>soapenv:Server.userException</faultcode>
   <faultstring>The requested version is not accessible.</faultstring>
   <detail>
    <ns1:fault xmlns:ns1="https://adwords.google.com/api/adwords/v13";>
     <ns1:code>89</ns1:code>
     <ns1:message>The requested version is not accessible.</
ns1:message>
     <ns1:trigger>v13</ns1:trigger>
    </ns1:fault>
   </detail>
  </soapenv:Fault>
 </soapenv:Body>
</soapenv:Envelope>

What is wrong here?  I'm pretty sure I'm sending v12 over the wire.
Code 89 says that I'm sending a bad namespace.  Could something be
weird with the XML processing?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/adwords-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to