When SoapUI gives you a hard time and just closing connection, you should try this out.
Insert this config into your x.config file:
<system.diagnostics>
<!-- This logging is great when WCF does not work. -->
<sources>
<source name="System.ServiceModel" switchValue="Information, ActivityTracing" propagateActivity="true">
<listeners>
<add name="traceListener" type="System.Diagnostics.XmlWriterTraceListener" initializeData= "c:\temp\trace.svclog" />
</listeners>
</source>
</sources>
</system.diagnostics>
And use svctraceviewer.exe to view the file.
Insert this config into your x.config file:
<system.diagnostics>
<!-- This logging is great when WCF does not work. -->
<sources>
<source name="System.ServiceModel" switchValue="Information, ActivityTracing" propagateActivity="true">
<listeners>
<add name="traceListener" type="System.Diagnostics.XmlWriterTraceListener" initializeData= "c:\temp\trace.svclog" />
</listeners>
</source>
</sources>
</system.diagnostics>
And use svctraceviewer.exe to view the file.
Ingen kommentarer:
Send en kommentar