I have a service connection in IICS that connects to an API with SOAP (was originally a regular REST connection that worked fine). The goal is to take the payload as text and write it to a file. I get the response and the payload when I test the connection, but I have an output field set to a XQuery expression:
$Restresponse/*:payload/text()
This returns nothing. I have tried using string() instead and I get a return but it has no formatting. I believe the issue is something to do with the difference in formats as the SOAP return has s: before tags and has the envelope schema. I am not very familiar with SOAP so this is new to me.