Fog Creek Software
Discussion Board




XML-RPC - how to capture message?

Hi:

I have XML-RPC call passing from one module to another - at the moment there are in the same box.

Is there a way to capture XML-RPC calls in transit?

When XML-RPC calls are made across boxes are the signals encrypted?

Thanks,

Hari

JD
Friday, December 12, 2003

What is the transport mechanism?  HTTP?

r1ch
Friday, December 12, 2003

Sounds to me like you are using an XML-RPC library.

When I hand coded an XML-RPC layer for an application (about 3-4 years ago) I included a hook to save all outgoing messages and their responses. This was used for later unit testing.

Perhaps your library has such a hook.

Jeff
Friday, December 12, 2003

Do you want to always capture messages, or just when you're debugging?

For debugging, the easiest thing to do is go here:

http://www.pocketsoap.org

and download tcptrace. This is a socket proxy application that logs all the traffic that goes through it. I've used it to track down some serious problems.

As for your encryption question: if the URL you're using is http://, then it's not encrypted. If the url is https://, then it is.

Chris Tavares
Friday, December 12, 2003

Whoops, my bad, it should have been http://www.pocketsoap.com , not .org.

Chris Tavares
Friday, December 12, 2003

*  Recent Topics

*  Fog Creek Home