Set the following extended settings to true for logging SOAP request-responses.
watt.server.SoapRPC.debug=false
watt.server.SoapRPC.trace=false
watt.server.SoapRPC.verbose=false
I am not sure what are you doing in your code but for getting the header entries these steps need to be done,
- Post a SOAP message over HTTP using the pub.client:http and convert the return stream inside the body document to soapData object using the built-in service pub.soap.utils:streamToSoapData.
- Use the soapData object from the above step to invoke pub.soap.utils:getHeaderEntries and that should get all the header entries as an array of objects.
#webMethods#Integration-Server-and-ESB