Processing EXE is reporting “System.Xml.XmlException: There are multiple root elements. Line 2, position 2.”
The XML returned looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<api><response status="ok"><token>6a4a4dfe610572668167a67c3a0fa815</token></response></api>
The EXE is a black box to us and we have no support or documentation to go on. We are recreating an API by emulating its responses. My XML looks exactly like old API’s XML and response is preceded by <?php header('Content-type: text/xml'); ?>.
Any thoughts?
There is nothing wrong with the XML, so check the calling code.
If you post it we can help you out.