XML_STREAM_EXC on CustomerService

66 views
Skip to first unread message

Ademilson Ferreira

unread,
Apr 20, 2016, 9:02:31 AM4/20/16
to AdWords API Forum
It seems that my XML is malformed, but I can't find where.

My request:

<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"  xmlns:tns="https://adwords
.google.com/api/adwords/mcm/v201603" xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:cm="https://adwords.google.com/api/adwords/cm/v201603"><soap:Header><cm:RequestHeader soapenv:actor="http:
//schemas.xmlsoap.org/soap/actor/next" soapenv:mustUnderstand="0"><cm:developerToken>MYTOKEN</cm:developerToken><cm:userAgent>DashGoo:0.0.1-dev</cm:userAgent><cm:validateOnly>true
</cm:validateOnly><cm:partialFailure>false</cm:partialFailure></cm:RequestHeader></soap:Header><soap:Body><getCustomers xmlns="https://adwords.google.com/api/adwords/mcm/v201603"></getCustomers>
</soap:Body></soap:Envelope>


The response I'm getting is:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><soap:Fault><faultcode>soap:Client</faultcode><faultstring>XML_STREAM_EXC</faultstring></soap:Fault></soap:Body></soap:Envelope>

Ademilson Ferreira

unread,
Apr 20, 2016, 1:09:00 PM4/20/16
to AdWords API Forum
Solved changing namespaces soapenv: to soap: and cm: to tns:.

Umesh Dengale

unread,
Apr 20, 2016, 1:53:04 PM4/20/16
to AdWords API Forum
Hello,

I am glad that you found the fix. Please let us know if you need any other help with AdWords API.

Thanks,
Umesh, AdWords API Team.



Reply all
Reply to author
Forward
0 new messages