Published SOAP Service - incoming XML not able to pass to the mapping microflow

I have a SOAP webservice published in Mendix expecting incoming xml. I can see the xml in the log messages but i am not able to pass to the microflow setup for the operation. I need to pass the xml so that i can map it to entities. I am using “import from xml” activity. However it keeps failing with –  Caused by: com.mendix.modules.microflowengine.MicroflowException: The XML could not be parsed. Content is not allowed in prolog.         at Integration.PurchaseOrder (Import with mapping : 'Import from XML') What setup is required that i am missing, i tried checking all the available documentation but cant seem to find any example.  
1 answers

Did you try to store the response first in a string before you do the import mapping? Because then you can inspect the string to see if there is something strange in there.

See also thise post for possible sollution: