Skip to content

Logging SOAP request/response body at binary level

License

Notifications You must be signed in to change notification settings

romeM/WcfSoapLogger

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build status NuGet Quality Gate PVS-Studio

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

  • Exact byte content of each request and response
  • Including any malformed requests and soap faults
  • Works for both web-services and clients
  • Each request and response is a separate file
  • Easy start, no code modification needed - just put dll and adjust config file
  • Custom handling of byte content in your code

Standard output sample

ExampleBeta

Installation

Install-Package WcfSoapLogger

Usage examples

The repository contains different usage examples. To clone repository 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)
    can't see original content

  • SvcTraceViewer.exe (<system.diagnostics>) Link 1 Link 2
    external utility hard in use
    no custom handling possible

  • Fiddler Link 1 Link 2
    external proxy application

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.

About

Logging SOAP request/response body at binary level

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 98.3%
  • Batchfile 1.7%