title: How to catch raw request/response of web-service
body: <p>I have to make the desktop client which will work with web-service. Client is provided in <code>.wsdl</code>(service contracts) and <code>.xsd</code>(data contracts). I have generated the client with svcutil.exe. And I have the idea to write to log file all requests/responces in Raw format(like it can be catched in Fiddler2 but though the code) while client is in debug mode. Can you give me any advance on how to do it or just turn me to the right direction.</p>
  
  <p>My generated service is implemention of System.ServiceModel.ClientBase.</p>
  
  <p>Thx a lot.</p>