Hi all,
I am working on a project which requires webservices to log information
about requests that are sent to it. I have written a SoapExtension that logs
client information when a request is sent to the webservice.
When there are two webservices (on the same IIS machine) and both of them
have the same SoapExtension class configured on to it, only one of them can
log information (log is written to the same file - I use Log4Net to write to
the log file). If I want the second webservice to log, I have to re-start
IIS and send a request to the second webservice upon which the first
webservice will no longer log.
I have factored out Log4Net as the problem by putting a simple TextWriter
log with the same result.
My webservices config in web.config looks like this:
<webServices>
<soapExtensionTypes>
<add type="com.company.mi.SoapWebServiceCollector1,ws-agent,
Version=1.0.1824.25573, Culture=neutral, PublicKeyToken=e3a81a1efb72531c"
priority="1" group="0" />
</soapExtensionTypes>
</webServices>
What could I be doing wrong for this to happen?
Thanks for your time and patience.
Sridhar.
Sridhar, S.
sr*******@gmail.com