We have an InfoPath form template defined as a XML field which name is "Request".
Then we have a Data Field of type string which name is "InfoPathXml".
We want to store in the field "InfoPathXml" the raw xml of "Request ".
But we are getting the following error after doing the mapping and before calling a web service passing the "InfoPathXml" field:
"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 1, position 9152."
We suppose that we are not getting the raw xml, just the content without a xml format.
How can we get the raw xml of the InfoPath form template?
Why are we getting an error before calling the web service?
Regards,
Paul