Question: How can I show the entire SOAP message with the envelope that is sent to a web service consumer and provider?
This feature can be enabled in Web Service by following the below steps:
1. Go to Administrator Tab
2. Go to Setup –> Application Settings –> Update System Properties –> Services –> Web Service configuration
3. Set the value of property "abpm.webservice.metro.security.dumpmessages” to true.
4. Set the value of property "com.sun.xml.ws.transport.http.client.HttpTransportPipe.dump” to true.
Now all Web Service Requests/Responses will be logged into the Application logs.
Note:- All Web Service consumer logs will go to KernelApplication.log and All Web Service Provider logs will go to WebrunnerApplication.log.
Enabling the "abpm.webservice.metro.security.dumpmessages" in the "server-configure.properties" seems to only log response messages.
The setting should (by description) log both request and response messages. It would be nice if also HTTP-headers could be logged?
If you are trying log the request and response message for WS Provider, then you would need to select the Security Policy in the WS provider then you can see the response in logs.
Article is closed for comments.