Follow

XML Root Element Missing

Question

Why is the WebServices API causing the following XML error?

InvalidOperationException: Response is not well-formed XML. ---> System.Xml.XmlException: Root element is missing

Answer

Not all methods return the XML header line.  If you are parsing the returned XML, either manually add the header line or ignore it.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Powered by Zendesk