in reply to Displaying SOAP::Lite request XML

Look in the SOAP::Lite docs for 'on_debug'.

Replies are listed 'Best First'.
Re^2: Displaying SOAP::Lite request XML
by Rice (Acolyte) on Mar 30, 2006 at 09:51 UTC
    Ok, so it was a simple matter of adding the following code to the use SOAP::Lite statement.
    use SOAP::Lite +trace => [ transport => sub { print $_[0]->as_string } ];
    Not quite as flexible as I was hoping, but it does the job. Thanks for pointing me in the right direction.