0

What is the easiest / best way to intercept calls to a web service?

I've got a situation where a web application is calling another applications web services, i.e. a point-to-point integration. The problem is I have no (or at least very limited) control of the applications, but I need to know what actions are occurring.

I'm looking at the "Wire Tap" pattern at Gregor Hohpe, but don't know how to create it

EDIT: this is for creating a component, rather than using a tool like Fiddler

SteveC
  • 15,808
  • 23
  • 102
  • 173
  • 2
    Do you mean *within the code*, or are you just looking for a debugging / diagnostic tool? If the latter, [Fiddler](http://www.fiddler2.com/fiddler2/) is great for examining HTTP traffic. – AakashM Feb 22 '12 at 10:26
  • you might find more answers if you search for '.NET Log Web service' – Guillaume86 Feb 22 '12 at 10:38
  • +1 for fiddler. Also SOAPUI is good – Ben Robinson Feb 22 '12 at 11:45
  • It's within code, rather than a tool ... I use Fiddler for this – SteveC Feb 22 '12 at 12:45
  • If this is WCF, then just configure tracing. If not, then move to WCF and then configure tracing. – John Saunders Feb 22 '12 at 12:50
  • This isn't for diagnostics / debug, or do you mean use tracing as the means to do the wire tap / interception ? – SteveC Feb 22 '12 at 17:11
  • Are you searching for a monitoring tool or a debugging tool? Should it be language agnostic? Are you on Java or .Net? – jmhostalet Oct 08 '13 at 13:14
  • @jmhostalet It's for .NET, and it's so we can add additional functionality into the pipeline ... in this case, write some of the request data to another database – SteveC Oct 08 '13 at 14:04

0 Answers0