How to acquire a SOAP trace for debugging (Windows)
Nicholas Reed edited this page Aug 2, 2011
·
1 revision
- Add the content below to your web.config file.
- Create a folder called C:\logs
- Start your project
- Run your project until you get the error. Look for the messages.svclog file in C:\logs
- Send that file to your Account Mgr. (It has your creds in it, and you won’t want to post here).
This information came from: http://msdn.microsoft.com/en-us/library/ms730064(v=VS.90).aspx
<system.diagnostics>
<sources>
<source name="System.ServiceModel.MessageLogging">
<listeners>
<add name="messages"
type="System.Diagnostics.XmlWriterTraceListener"
initializeData="c:\logs\messages.svclog" />
</listeners>
</source>
</sources>
</system.diagnostics>
<system.serviceModel>
<diagnostics>
<messageLogging
logEntireMessage="true"
logMalformedMessages="true"
logMessagesAtServiceLevel="true"
logMessagesAtTransportLevel="true"
maxMessagesToLog="50"
maxSizeOfMessageToLog="50000000" />
</diagnostics>
</system.serviceModel>
asdasdsad