Intercept wcf request/response programatically

I have a contract first wcf services... I want to capture the raw soap request/response @ the server programatically and polish them before saving to the database. I need this process for some auditing purposes. Does anybody know how to do this? Note : I dont want to do this with wcf tracing by configuring in web.config file.

Thank you in advance...

Answers


You may implement your own Messageinspector, I´m not sure if this is enough for you but its worth a try.


Need Your Help

Visual studio deployment setup: Process not getting killed

forms visual-c++ setup-deployment

I have created a form application in VC++ and developed a deployment setup.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.