Capture SOAP request and response in C# WCF
This library is a message tracing tool for web-services and clients built with WCF. Acting as custom message encoder it captures raw XML SOAP data as plain HTTP body.
Install-Package WcfSoapLogger
The repository contains usage examples covering different scenarios. To clone run this command or download as zip file.
git clone https://github.com/capslocky/WcfSoapLogger.git
You can find examples here.
IDispatchMessageInspector (IClientMessageInspector)
Link 1
Link 2
can't see malformed requests (HTTP/1.1 400 Bad Request specifically)
can't see original content
SvcTraceViewer.exe (<system.diagnostics>)
Link 1
Link 2
external utility hard in use
no custom handling possible
If you find this project useful you are welcome to make it better! Feel free to contact me if you have any ideas, questions or concerns. Also see issues.