getSiteFilters error 109 The request was not a properly formatted SOAP message.

3 views
Skip to first unread message

rcraill

unread,
Aug 19, 2009, 3:00:50 AM8/19/09
to AdSense API Forum
getSiteFilters error 109 The request was not a properly formatted SOAP
message.

My request is like this

<?xml version="1.0" encoding="UTF-8" ?>
- <SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://
schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENC="http://
schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://
schemas.xmlsoap.org/soap/envelope/">
- <SOAP-ENV:Header>
<developer_email SOAP-ENC:root="1">adsensed...@google.com</
developer_email>
<developer_password SOAP-ENC:root="1">Q6R*******</
developer_password>
<client_id SOAP-ENC:root="1">ca-pub-959241021*******</client_id>
<debug_association_type>Active</debug_association_type>
<debug_zip>1724</debug_zip>
<debug_phone>59100</debug_phone>
</SOAP-ENV:Header>
- <SOAP-ENV:Body>
- <ns1:getSiteFilters xmlns:ns1="http://www.google.com/api/adsense/v3"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" SOAP-
ENC:root="1">
<synServiceId>ca-pub-959241021*******</synServiceId>
</ns1:getSiteFilters>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

What am i Doing wrong. Sending to sand box

Google AdSense API Support Team

unread,
Aug 20, 2009, 3:44:52 PM8/20/09
to AdSense API Forum
Robert,

Properly formatted SOAP requests should not contain superfluous
hyphens (such as the ones preceding your envelope, header, body, and
method elements). Additionally, it's probably a good idea not to wrap
your string literals along multiple lines, though that could just be
an issue with your mail client.

Cheers,
Wes
AdSense API

On Aug 19, 3:00 am, rcraill <rob...@cyberprop.com> wrote:
> getSiteFilters error 109 The request was not a properly formatted SOAP
> message.
>
> My request is like this
>
> <?xml version="1.0" encoding="UTF-8" ?>
> - <SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://
> schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENC="http://
> schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://
> schemas.xmlsoap.org/soap/envelope/">
> - <SOAP-ENV:Header>
>   <developer_email SOAP-ENC:root="1">adsensedevelop...@google.com</
Reply all
Reply to author
Forward
0 new messages