WcfSoapLogger
Capture SOAP request and response in C# WCF
Install / Use
/learn @capslocky/WcfSoapLoggerREADME
WcfSoapLogger
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.
Features
- You get exact content of each request and response
- Including any malformed requests and soap faults
- It's applicable for both parties: web-services and clients
- Easy start, no code modification needed - just put dll and adjust config file
- Default handler just saves each request and response as a separate file
- But you can implement any custom handler instead
- Supports SOAP 1.1, SOAP 1.2, addressings
Default output sample

Installation
- As NuGet package in Visual Studio project (Tools -> NuGet -> Console / Manager -> Choose project). How to adjust config file.
Install-Package WcfSoapLogger
- Manually (for system administators)
Usage examples
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
Comparison with alternatives
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
Contributing
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.
Related Skills
node-connect
350.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.9kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
350.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
350.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
