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
The following severity levels we can configure for parameter TraceHTTP:
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>
Analyze the trace file in logViewer application in NWA
Open NWA->Troubleshooting->Logs and Traces -> Log Viewer
SOAP Request Headers:
References
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.
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.
Thanks for the comment Inaki
Hi Praveen,
what if using http receiver adapter instead of soap?, is possible ?
Thank you
Regards.
Hi David,
Yes it is possible, for HTTP_AAE check below sap note:
2157425 - New Feature: Client side HTTP Tracing for HTTP_AAE adapter
Regards,
Praveen.
Thanks for sharing this. This is definitely going to come in handy.
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
Thanks Praveen. I am using REST adapter and have installed XPI Inspector on SAP PO Java Stack only to achieve full tracing. I recommend this tool for whomever wants to trace any http/https comms.
SAP Support note 1514898 XPI Inspector for troubleshooting XI.