HOW-TO: Adding debug or trace information to a WSE service.

The examples in the Web.config snippet below show how to add trace logging to SOAP requests and responses:



  <section name="microsoft.web.services2"
           type="Microsoft.Web.Services2.Configuration.WebServicesConfiguration, Microsoft.Web.Services2, Version=, Culture=neutral,  PublicKeyToken=31bf3856ad364e35" />

   <trace enabled="true" 



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