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:
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.