tags:

views:

351

answers:

3

I'm looking for a tool that can intercept the SOAP requests generated by an application.

Is there such a tool or should I just use a packet sniffer?

+1  A: 

How about just using SOAPUi? It lets you build testcases, see the return results messages, even build mock-services for testing. I work with a lot of Web Services these days, and it's the best tool I've found for debugging.

Chris Kaminski
I specifically want to see the SOAP that gets generated by the client program. I'm sure the actual web service works, but the client hides the message generation behind a thousand layers of abstraction.
fluffels
SOAPui will allow you to do this, where it implements mock-services. You give it a WSDL, and it implements a service where it takes the request from the client. It doesn't necessarily have to return anything, but it lets you capture the client input, and tweak server responses.
Chris Kaminski
+2  A: 

Apache TCPMon is the current home for a debugging proxy that was originally part of Apache SOAP and later Apache AXIS. It's a simple man-in-the-middle proxy that makes it easy to capture SOAP requests and responses and inspect them.

Nelson
A: 

If you are looking for a tool that knows something about SOAP and is not just a TCP sniffer try Membrane Monitor. It is an open source SOAP interceptor that can operate as reverse or forwarding proxy. It also features a XML formatter.

baranco