ColdFusion 2016 invoke webservice returns error - works fine on CF 9
So I am trying to migrate a site from CF 9 to CF 2016 after getting past a few issues I have run into one I can't seem to figure out. Basically I call the web service like so
<cfinvoke
webservice="#APPLICATION.SiteURL#/cfapi/webservices/Orders.cfc?wsdl"
method="QueryOrder"
returnvariable="REQUEST.XML">
<cfinvokeargument name="WebOrderNumber" value="#URL.WebOrderNumber#" />
</cfinvoke>
And it calls a page that returns an order via xml. On CF 9 it works fine. CF 2016 returns the XML but it also returns an error. The error says
This page contains the following errors:
error on line 66 at column 1: Extra content at the end of the document
Below is a rendering of the page up to the first error.
Then it lists my XML but just as straight string data. Even though if you view the source it shows the exact same XML content as the CF 9 server returns. The only other error info I see is this. "Cannot perform web service invocation QueryOrder"
I'm stuck! Any ideas?
