Hi,

You are missing the RequestHeader element that wraps the header
fields:

  <?xml version="1.0"?>
  <soapenv:Envelope
      xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";
      xmlns:v20="https://adwords.google.com/api/adwords/cm/v200909";>
    <soapenv:Header>
      <v20:RequestHeader>
        <v20:authToken>...</v20:authToken>
        <v20:clientEmail>...</v20:clientEmail>
        <v20:developerToken>...</v20:developerToken>
        <v20:userAgent>...</v20:userAgent>
      </v20:RequestHeader>
    </soapenv:Header>
    <soapenv:Body>
       ...
     </soapenv:Body>
  </soapenv:Envelope>

Best,
- Eric Koleda, AdWords API Team

On Apr 29, 2:46 am, emforce <[email protected]> wrote:
> I failed to log-in adwords API.
> Could you tell me the exact meaning of the error message below?
>
> Test envirment : Java6 + Axis
> -----
>
> [Request]https://adwords.google.com/api/adwords/cm/v201002/CampaignService
> <?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:authToken soapenv:actor="http://schemas.xmlsoap.org/soap/actor/
> next" soapenv:mustUnderstand="0" xmlns:ns1="https://adwords.google.com/
> api/adwords/cm/v201002">XXXXXXX</ns1:authToken>
> <ns2:userAgent soapenv:actor="http://schemas.xmlsoap.org/soap/actor/
> next" soapenv:mustUnderstand="0" xmlns:ns2="https://adwords.google.com/
> api/adwords/cm/v201002">XXXX-XXX</ns2:userAgent>
> <ns3:developerToken soapenv:actor="http://schemas.xmlsoap.org/soap/
> actor/next" soapenv:mustUnderstand="0" xmlns:ns3="https://
> adwords.google.com/api/adwords/cm/v201002">XXXXXXX</
> ns3:developerToken>
> <ns4:applicationToken soapenv:actor="http://schemas.xmlsoap.org/soap/
> actor/next" soapenv:mustUnderstand="0" xmlns:ns4="https://
> adwords.google.com/api/adwords/cm/v201002">XXXXXXX</
> ns4:applicationToken>
> <ns5:clientEmail soapenv:actor="http://schemas.xmlsoap.org/soap/actor/
> next" soapenv:mustUnderstand="0" xmlns:ns5="https://adwords.google.com/
> api/adwords/cm/v201002">[email protected]</ns5:clientEmail>
> <ns6:validateOnly soapenv:actor="http://schemas.xmlsoap.org/soap/actor/
> next" soapenv:mustUnderstand="0" xmlns:ns6="https://adwords.google.com/
> api/adwords/cm/v201002">false</ns6:validateOnly>
> </soapenv:Header>
> <soapenv:Body>
> <get xmlns="https://adwords.google.com/api/adwords/cm/v201002";>
> <selector>
> <paging>
> <startIndex>0</startIndex>
> <numberResults>10</numberResults>
> </paging>
> </selector>
> </get>
> </soapenv:Body>
> </soapenv:Envelope>
>
> [Response] AxisFault
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
> <soap:Body>
> <soap:Fault>
> <faultcode>soap:Server</faultcode>
> <faultstring>Fault occurred while processing.</faultstring>
> </soap:Fault>
> </soap:Body>
> </soap:Envelope>
>
> --
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Have you migrated to v200909 yet?
> The v13 sunset is on April 22, 2010.
>
> Also find us on our blog and discussion 
> group:http://adwordsapi.blogspot.comhttp://groups.google.com/group/adwords-api
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> You received this message because you are subscribed to the Google
> Groups "AdWords API Forum" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group 
> athttp://groups.google.com/group/adwords-api?hl=en

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to [email protected]
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