Hi Guys,
I’m sending a message to a web service and receive a response. As far as I know, the response is just a string, eg “OK”. I was able to write the response to a file on my development server. But when I deployed the solution to Production, the web service response message is suspended with the following error:
The adapter failed to transmit message going to send port “SendInvoice_1.0.0.0.SendInvoice.ProcessInvoice_SendInvoicePort_e3671785fbe11ccc” with URL “https://somedomain.com/webservice/WEBSERVICE.php”. It will be retransmitted after the retry interval specified for this Send Port. Details:”InvalidOperationException: Response is not well-formed XML. XmlException: Unexpected XML declaration. The XML declaration must be the first node in the document, and no white space characters are allowed to appear before it. Line 2, position 3.”.
Does anyone out there had the same problem and don’t mind sharing your solution?
Any help is greatly appreciated. [:)]
Spike