So, let me get this straight, XML Gateway sends you a soap request (XML payload enclosed in a Soap envelope), but won’t accept a reply to that XML request as a soap message? Is that right? If so, that’s pretty weird and not compliant with the Soap spec.
Because an IS soap processor (either the default processor or your custom processor are logically “inside” the soap content-handler, I don’t think you can receive a soapData object but return plain old XML.
You can certainly write an IS service that will accept an XML document that just happens to be a soap message. You would just convert that XML doc to an xml string and then create your soapData object using pub.soap.utls:stringToSoapData. When your service finishes, it would just format the response XML document and perhaps use pub.flow:setResponse to ensure that it is the only thing returned to the client.
Mark
#webMethods#API-Management#soa