Link to home
Start Free TrialLog in
Avatar of Larry Brister
Larry BristerFlag for United States of America

asked on

Log RAW Data of REQUESTS to my WebMethod

How do I log the raw requests in JSON form made to my SOAP WCF Web Methods?

This is a C# site.


ASKER CERTIFIED SOLUTION
Avatar of David Favor
David Favor
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Makes no difference if you're using C## or PERL or whatever, the pattern above is the same.

If you're log volume is low, just use syslog() calls to route your log entries to a file or the system log, then process these events with a housekeeping process in background.
You know that SOAP is XML? When you want to store it raw, then converting it JSON is not an option.