RE: [soaplite] dumping SOAP::Lite's XML for debugging
- Using ethereal and monitoring the link directly can also be
very informative about how things work.MikeOn the client side, do this:
From: email@example.com [mailto:firstname.lastname@example.org] On Behalf Of Thomas Eden
Sent: Monday, January 29, 2007 4:21 PM
To: Achim Grolms
Subject: Re: [soaplite] dumping SOAP::Lite's XML for debugging
use SOAP::Lite +trace => 'debug';
I usually wrap it inside a check for opt_D from getopts...On 1/29/07, Achim Grolms <yahoo@...> wrote:
I am using Perl and SOAP::Lite as a Client,
transport protocol HTTP.
What is an easy way to dump out the XML
that "goes over the wire"?
(I have had a look at perldoc SOAP::Lite and
<http://cookbook.soaplite.com/>, but I am confused
what is the way to go.)