title: Inspect WCF SOAP message payload
body: <p>I am debugging a WCF SOAP client. I can modify the client, but don't have any control over the server. I would like to inspect the actual messages sent and received in order to find out why a message which works in SoapUI fails when sent by the client.</p>
  
  <p>The communication is over SSL, so I can't use Wireshark to inspect the messages on the wire. </p>
  
  <p>I have enabled wcf tracing (with <code>logEntireMessage="true"</code>), but while an enormous amount of data is logged, the actual response payload does not seem to be logged. It is just shown as "<code>... stream ...</code>" in Trace Viewer. Also I cant seem to find the HTTP headers for the outgoing message in the trace.</p>
  
  <p>Anybody have an idea how to get closer to inspecting the actual messages?</p>
  
  <p>Edit: Fiddler helped me find the problem. (It was a UTF-8 byte order mark in the payload, that the server didn't like.) WFC tracing on the other hand is too "high level" to find this kind of problem, as far as I can tell.</p>