The examples in the Web.config snippet below show how to add trace logging to SOAP requests and responses:
<configuration> ... <configSections> <section name="microsoft.web.services2" type="Microsoft.Web.Services2.Configuration.WebServicesConfiguration, Microsoft.Web.Services2, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" /> </configSections> <microsoft.web.services2> <diagnostics> <trace enabled="true" input="inputTrace.webinfo" output="outputTrace.webinfo"/> </diagnostics> </microsoft.web.services2> ... </configuration> |
This particular configuration will put the specified output files in the configured IIS wwwroot directory. So the files might respectively be found, for example, at the following locations: C:\Inetpub\wwwroot\inputTrace.webinfo or C:\Inetpub\wwwroot\outputTrace.webinfo