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.