Skip to Content

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.

To report this post you need to login first.

6 Comments

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

  1. Iñaki Vila

    Hi Praveen,

    I didn’t know this new feature. It will be very useful to debug the calls and we can avoid to use the TCPGW tool that at least in my case it supposes issues and several telephone calls with the basis team 🙂

    Thank you for share your knowledge about this feature!

    Regards.

    (0) 
  2. Midhun Madhav

    Hi Praveen

    Can we use this for SOAP Axis Receiver?

    I am using these modules afreq, xireq, wssec, trp, xires and afres. If I am to use then where should I use this module. Mine is a synchronous SOAP receiver scenario

    (0) 

Leave a Reply