I have some web services already running on a few environments, and some developers are needing to get the raw HTTPHeaders that are being sent to these web services. These services are set up using HTTPS.
I can’t use wireshark/fiddler to intercept the data, one it’s encrypted, and two there are too many SSL rules needed for fiddler it kind of bombs.
I “could” code it, but I’m looking for a way I could modify the web.config to output all the data from these calls.
Thoughts?
I have:
<system.diagnostics>
<trace autoflush="true" />
<sources>
<source name="System.Web.Services.Asmx">
<listeners>
<add name="AsmxTraceFile" type="System.Diagnostics.TextWriterTraceListener" initializeData="local.log" traceOutputOptions="LogicalOperationStack, DateTime, Timestamp, ProcessId, ThreadId, Callstack" />
</listeners>
</source>
</sources>
<switches>
<add name="System.Web.Services.Asmx" value="Verbose" />
</switches>
</system.diagnostics>
But that is not printing out HTTP Header information, or any type of SOAP data.
Any hints would be appreciated.
I would try this