Enabling logs for Web Service request and response

To enable logging for the web service response and request, set the system property “abpm.webservice.metro.security.dumpmessages” to true. This property will work for both Web Service Consumer and Provider activities.

Follow these steps:

  1. Go to Administrator –> Set Up –> Application Settings –> Update System Properties –> Services –> Web Service Configuration
  2. Set the property “abpm.webservice.metro.security.dumpmessages” value to true.
  3. After setting this property value to true, you will find entire soap message(request/response) into application logs(kernel logs for WS Consumer and webrunner logs for WS Provider)

 

Additionally, You can enable logging for Web Service using below properties:

Go to Web Service Configuration - > {Property Name}

Webservice Consumer :

Property Name - com.sun.xml.ws.transport.http.client.HttpTransportPipe.dump

WebService Provider

Property Name - com.sun.xml.ws.transport.http.HttpAdapter.dump

Note:- You need to restart server after changing the property values.

Have more questions? Submit a request

0 Comments

Article is closed for comments.