xmlparse - Premature end of file
Posted on 2007-04-04
I'm building a page to send XML data using (<cfhttp method="post") and expecting a reply back to the same .cfm page, the sending part if working fine, it's the receiving part that is not working. Here is my code to "wait for" and parse the reply:
<cfset x = GetHttpRequestData()>
<cfset xmldata = xmlparse(x.content)>
When I execute the .cfm page, I get the following error:
An error occured while Parsing an XML document.
Premature end of file.