How to log SOAP request and response along with the HTTP headers associated with them on the server side, which is a BW process/application?
book
Article ID: KB0088153
calendar_today
Updated On:
Products
Versions
TIBCO ActiveMatrix BusinessWorks
-
Not Applicable
-
Description
Resolution: Description: ============ How to log SOAP request and response along with the the HTTP headers associated with them at the server side (BW)? Here, the client can be a BW process or an external client.
Resolution: ========== Following SOAP tracing properties logs the SOAP request and response in the file are as mentioned, yet the HTTP headers are not present.
To log SOAP request and response along with the HTTP associated headers at the server side (BW), perform the following steps:
1). Set bw.plugin.http.server.debug=true in .tra file. 2). Set java.extended.properties=-Xrs -Dlog4j.configuration=file:///<path_to_file>/log4j.xml 3). Copy attached log4j.xml to the <path_to_file> 4). Make sure that the following trace settings in .tra are set to true.
5). Start the BW SOAP application from the command prompt then the HTTP. The headers should be in the console output. 6). You can also modify the .cmd (or .sh in Unix) file to redirect console output to file.
Issue/Introduction
How to log SOAP request and response along with the HTTP headers associated with them on the server side, which is a BW process/application?
Attachments
How to log SOAP request and response along with the HTTP headers associated with them on the server side, which is a BW process/application?
get_app