Hi,
Is it possible to get MessageSecurityException after the security
context has been negotiated and the service operation has been
executed?
i.e. Can I assume that when I get this exception the method has never
been executed?
Thanks,
Piotr
Tiago Halm - 02 Feb 2008 00:20 GMT
Don't assume. Trace the call and look into it via "svctraceviewer.exe".
Setup trace by including something like:
<system.diagnostics>
<sources>
<source name="System.ServiceModel" switchValue="Verbose,
ActivityTracing" propagateActivity="true">
<listeners>
<add name="xml" />
</listeners>
</source>
<source name="System.ServiceModel.MessageLogging" switchValue="All">
<listeners>
<add name="xml" />
</listeners>
</source>
</sources>
<sharedListeners>
<add
name="xml"
type="System.Diagnostics.XmlWriterTraceListener"
initializeData="c:\temp\trace.svclog" />
</sharedListeners>
</system.diagnostics>
Tiago Halm
> Hi,
>
[quoted text clipped - 7 lines]
> Thanks,
> Piotr