How do I set up the TraceSoapRequest library logging tool and enable TraceSoap? Derek Morrocco November 01, 2016 01:33 Follow Can I get the library and instructions on how to set up my environment to use TraceSOAPRequest? Have more questions? Submit a request 3 Comments Date Votes 0 John Lafauce July 17, 2012 13:38 Hi Derek, The TraceSoapRequest library is a logging tool that can be used in conjunction with the WSDL plug-in. This tool will write the full SOAP/XML request and response to the server logs. To set up the TraceSoapRequest library, follow these steps: Copy the library to the server's bin directory (IE C:\inetpub\wwroot\PyxisServer\bin\). If you do not have library, please ask someone from the server team. Add the following block to the server's web.config file in the <System.Web> node: <webServices> <soapExtensionTypes> <add type="TraceSOAPRequest.TraceSOAP, TraceSOAPRequest, Version=18.104.22.168, Culture=neutral, PublicKeyToken=null" priority="1" group="0"/> </soapExtensionTypes> </webServices> Run a request through the WSDL plug-in either through the test page or from a client. You will now see SOAP requests and responses in the server logs. If you prefer to have log entries in a separate text file, add the following to the <AppSettings> node of the server's Web.Config file: <add key="SOAPLogs" value="[your desired soap log directory]" /> To disable logging, simply remove or comment out the <soapExtensionTypes> block added in step 2. Thanks, John 0 Derek Morrocco July 27, 2012 14:40 Hi John, I'm just experimenting with this now, and I don't have the TraceSoapRequest library. Who should I ask to get the library files ? I don't know anyone on your server team. 0 John Lafauce July 27, 2012 15:33 Hi Derek, Instructions on how to enable SOAP tracing are described below, and the SOAP.dll is attached. It is recommended to use Fiddler as a proxy to capture SOAP requests and responses. Summary: Trace Soap allows WSDL request/response XML documents to be saved to a DB or a file. This is very useful while debugging complex WSDL issues. The TraceSOAPRequest library allows the Pyxis (Verivo) system to write to a log the full SOAP request sent and response received from the enterprise web service. If you want it written to a files system, make sure the ASP.NET worker process and any IIS user accounts have write access to the log folder. In order for it to function property, the following steps should be performed: 1. Copy the library into the Pyxis Application Servers bin directory (e.g. c:\inetpub\wwwroot\PyxisServer\bin\) 2. Add the following block to the <system.web/> node in the web.config file <webServices> <soapExtensionTypes> <add type="TraceSOAPRequest.TraceSOAP, TraceSOAPRequest, Version=22.214.171.124, Culture=neutral, PublicKeyToken=null" priority="1" group="0"/> </soapExtensionTypes> </webServices> 3. If you want to log the entries to the Pyxis database log table, you are now ready to query the server from the client. Any requests and responses will be written to the Pyxis database. 3. If you want to log the entries to a local file, add the following key/value pair to the <appSettings/> node of the web.config <add key="SOAPLogs" value="C:\Logs\" /> replacing the path with the path to the directory in which you want the logs written. 4. To disable logging, simply remove or comment out the <soapExtensionTypes/> block in the web.config. Thanks, John TraceSOAPRequest.dll Please sign in to leave a comment.