I am trying to log all the messages sent to/from my web services and
read somewhere that WSE2 would let me do this. I have just installed
this and added the following to my code:
<microsoft.web.services2>
<diagnostics>
<trace enabled="true"
input="inputTrace.webinfo"
output="outputTrace.webinfo"/>
</diagnostics>
</microsoft.web.services2>
This gives me a parser error "Unrecognized configuration section
'microsoft.web.services2'" - anybody have any ideas? Could I have
installed it wrong? (Runtime installation mode on the webserver,
developer installation mode on my development machine)
Cheers,
Chris
Josh Twist - 09 Feb 2006 11:02 GMT
You need to setup the configuration section, add this to your
web.config
<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>
... rest of your web.config here...