Soap get full xml text


I am consuming a web service by soap that doenst have a output variable because OutSystems cant map it.

It cant map it because the text from the output come outside of the XML, like this:

And OutSystems gives me an error when i call this action

[1] There is a problem with the XML that was received from the network. See inner exception for more details.
[2] The data at the root level is invalid. Line 1, position 1.

Is there a way i can, in the exception handler, get the text outside the xml?


I'm not sure whether that's possible (I don't think so), but have you tried to add an OnAfterResponse, or looked into the OnAfterResponse (Advanced) and the SOAP Extensibility API?

However, a return like that is really ridiculous, you ought to tell whoever created that SOAP service that it isn't compliant to the SOAP standard.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.