SAXParseException due to incomplete response

155 views
Skip to first unread message

Christian H.

unread,
Sep 29, 2016, 5:04:31 AM9/29/16
to AdWords API Forum
Hi,

starting Wednesday, 28 September 2016, 21:11 CET, I occasionally get SAXParseException when Axis tries to parse the SOAP-Response, e.g.

org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 35807; The element type "descriinalUrls" must be terminated by the matching end-tag "</descriinalUrls>" must be terminated by the matching end-tag.
org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 36281; The element type "id" must be terminated by the matching end-tag "</id>" must be terminated by the matching end-tag.
org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 36612; The element type "description" must be terminated by the matching end-tag "</description>" must be terminated by the matching end-tag.
org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 36729; The element type "headlinePart1" must be terminated by the matching end-tag "</headlinePart1>" must be terminated by the matching end-tag.
org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 37224; Attribute name "xmlnTexHeader" associated with an element type "ad" must be followed by the " = " character.
org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 37682; The element type "headline" must be terminated by the matching end-tag "</headline>" must be terminated by the matching end-tag.
org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 37991; The element type "adGroupId" must be terminated by the matching end-tag "</adGroupId>" must be terminated by the matching end-tag.
org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 38101; The element type "Ad.type " must be terminated by the matching end-tag "</Ad.Type>" must be terminated by the matching end-tag.
org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 38158; Element type "e" must be followed by either attribute specifications, ">" or "/>"
org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 38166; The element type "headlinePart2" must be terminated by the matching end-tag "</headlinePart2>" must be terminated by the matching end-tag.
org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 39351; The element type "headlinePart1" must be terminated by the matching end-tag "</headlinePart1>" must be terminated by the matching end-tag.

The column number is always quite high. For me it looks like the response stream isn't flushed in rare cases.

Does someone else have the same problem?

Regards,

Christian


Joyce Lava

unread,
Sep 29, 2016, 6:09:32 AM9/29/16
to AdWords API Forum
Hi Christian,

Could you please send to me the complete SOAP request and response when you encountered this error? Please use reply privately to author when responding.

Thanks,
Joyce, AdWords API Team

Radosław Pociecha

unread,
Oct 20, 2016, 11:06:12 AM10/20/16
to AdWords API Forum
Hi,

we also getting from axis exceptions like:
    org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 20526; XML document structures must start and end within the same entity.
and in our case it seems it started after midnight 29 september 2016

Regards,
Radosław Pociecha

Joyce Lava

unread,
Oct 20, 2016, 10:36:36 PM10/20/16
to AdWords API Forum
Hello Radosław,

Could you please send me (reply privately to author) the complete SOAP request and response to better check the issue you are specifically encountering? 
Reply all
Reply to author
Forward
0 new messages