Skip to Content

HTTP tracing in SOAP receiver adapters with TraceHTTP module parameter

Introduction

When we call external web services from PI using SOAP adapter if we want to see plain soap request and response including HTTP request headers is not possible unless if we use TCPGW tool as mentioned in this blog. But from starting PI 7.31 SP09 we can achieve this by setting the parameter TraceHTTP for the module XISOAPAdapterBean in SOAP receiver channel.


Set the Module Parameter in SOAP Receiver Adapter

TraceHTTP.jpg

The following severity levels we can configure for parameter TraceHTTP:

/wp-content/uploads/2015/10/severity_818027.jpg


Download The File From PI Server
The trace will be written to the following directory in PI server

  • Directory: /usr/sap/PID/DVEBMGS00/j2ee/cluster/server0/log/pi_http
  • File name scheme is:  PI_HTTP.<party.<service>.<channel>

TraceFile.jpg


Analyze the trace file in logViewer application in NWA

Open NWA->Troubleshooting->Logs and Traces -> Log Viewer

ExpertView.jpg

ExpertLogViewer.jpg

SOAP Request Headers:

SoapHeader.jpg

References

HTTP Tracing for PI Receiver Adapters (New) – What’s New in SAP NetWeaver 7.3 EHP1 (Release Notes) – SAP Library

1904944 – *NF* Client side HTTP tracing for SAP PI receiver adapters


Conclusion

With this approach we can troubleshoot soap calls with plain soap request and response when we encounter error in our scenarios without external tools like TCPGW which we used before.

I hope this helps.

6 Comments
You must be Logged on to comment or reply to a post.