Hi Marco, What's missing from your request is the <RequestHeader> element wrapping the headers. Unlike in v13 where the headers were placed directly into the SOAP header element, in v2009 the headers are wrapped in a <RequestHeader> element. You can see an example request here: http://code.google.com/p/adwords-api-xml-samples/source/browse/trunk/src/v200906/get_all_ads.xml.
Best, - Eric Koleda, AdWords API Team On Sep 23, 3:40 am, "Marco T." <ma...@inartek.it> wrote: > Hi to all, > > I've experience a problem when try to make SOAP request for v200906 > API. > > This is a simple soap request generated by soapclient function > __soapcall: > > <?xml version="1.0" encoding="UTF-8"?> > <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/ > envelope/" xmlns:ns1="https://adwords.google.com/api/adwords/cm/ > v200906"> > <SOAP-ENV:Header> > <ns1:authToken>..code..</ns1:authToken> > <ns1:useragent>useragent name</ns1:useragent> > <ns1:clientEmail>x...@xxxxx.xx</ns1:clientEmail> > <ns1:developerToken>devtoken</ns1:developerToken> > <ns1:applicationToken>application token</ > ns1:applicationToken> > </SOAP-ENV:Header> > <SOAP-ENV:Body> > <ns1:get> > <ns1:selector> > <ns1:adGroupIds>xxxxxxxx</ns1:adGroupIds> > </ns1:selector> > </ns1:get> > </SOAP-ENV:Body> > </SOAP-ENV:Envelope> > > I always obtain this response: > <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> > > Is there something wrong in my request? > Is there some settings for soapclient class for make correct request? --~--~---------~--~----~------------~-------~--~----~ 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 adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en -~----------~----~----~----~------~----~------~--~---