Why do we need to enable SOAP tracing?
SOAP tracing properties will help to store all the request/response SOAP incoming/outgoing messages. This will be helpful when we analyzing some issues.
We can enable SOAP tracing in two ways.
1. BW(Business Work) Engine level
2. Application level
METHOD 1: BW Engine level
SOAP tracing at BW engine means that all the future BW deployment in this BW server have the below-mentioned property by default. You need to restart the BW server after adding this property.
Add the below-mentioned properties inĀ /bw/[version]/bin/bwengine.tra
the file.
java.property.com.tibco.plugin.soap.trace.inbound=true java.property.com.tibco.plugin.soap.trace.outbound=true java.property.com.tibco.plugin.soap.trace.filename=/tmp/Soap_Trace.txt java.property.com.tibco.plugin.soap.trace.pretty=true
These properties will create SOAP messages at the mentioned location (/tmp/Soap_Trace.txt). Please create this empty text file in the above location after adding the properties.
METHOD 2: Application level
As same as the name, Application level tracing will be enabled for a specific application which we need. Add the same properties in the application TRA file.
/tra/domain/Domain_Name/application/applicationName.tra
You need to restart the application after adding these properties to enable it.