Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WSO2 API Manager: How do I log the fulle (http) SOAP response

Tags:

wso2

How do I log the SOAP response messages (complete http response) when I invoke a service on the WSO2 AM?

like image 204
Marc Avatar asked Nov 17 '25 15:11

Marc


1 Answers

If you want to see all the messages that are passing through, you can enable the wire level logs. It will log all http messages. Please uncomment following two properties in "log4j.properties" file which can be found at /repository/conf directory

uncomment the following logs to see HTTP headers and messages log4j.logger.org.apache.synapse.transport.http.headers=DEBUG log4j.logger.org.apache.synapse.transport.http.wire=DEBUG

like image 184
Asela Avatar answered Nov 20 '25 05:11

Asela



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!