[Xml-compile] Logging requests

Mark Overmeer mark at overmeer.net
Wed Sep 16 21:49:30 GMT 2015


* Kit Peters (Kit.Peters at broadbean.com) [150916 21:45]:
> Suppose I wanted to log all the requests / responses made with an
> instance of XML::Compile::WSDL11.  Would I use a transport hook for that,
> or is there another way?  I don't want the logging hook to clobber any
> existing transport hook the caller might define.

   my ($answer, $trace) = $wsdl->call(....);
   $trace->printResponse;  # etc  See XML::Compile::SOAP::Trace
-- 
Regards,

               MarkOv

------------------------------------------------------------------------
       Mark Overmeer MSc                                MARKOV Solutions
       Mark at Overmeer.net                          solutions at overmeer.net
http://Mark.Overmeer.net                   http://solutions.overmeer.net




More information about the Xml-compile mailing list