2 Replies Latest reply on Nov 6, 2013 7:11 AM by nbroat1

    Receiving [Fatal Error] :1:1: Content is not allowed in prolog.

    nbroat1

      The web service is written to return:

       

       

      <?xml version="1.0" encoding="utf-8"?>

      <UserContactInfo xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance xmlns:xsd=http://www.w3.org/2001/XMLSchema xmlns=http://tempuri.org/>

      <Firstname>Nelson</Firstname>

      <Lastname>Broat</Lastname>

      </UserContactInfo>

       

      But somehow Cold Fusion 9 is seeing it as

       

      XMLData is org.tempuri.UserContactInfo@16259b42

       

      which must be why we have the prolog error.

       

      <cfinvoke webservice=http://ouripaddress/folder/servicename.asmx?WSDL method="GetUserBio" returnvariable="XMLData" refreshwsdl="true">

         <cfinvokeargument name="uuid" value="#authuser#"/>

      </cfinvoke>

       

      <cfdump var="XMLData is #XMLData# output="console" />

      <cfset trimXMLdata = trim(XMLData) />

      <cfset tmpXML = XMLParse(trimXMLData) />

       

      This webservice was written in .net   and runs off a 64-bit computer running Windows 2008 Server R2

       

      Is there something special we need to do here? The above value of XMLData looks like some sort of array pointer or something.

       

      Any and all help and advice is appreciated. Thanks.

       

      Nelson