XML::Compile::SOAP::Trace(3pm) | User Contributed Perl Documentation | XML::Compile::SOAP::Trace(3pm) |
XML::Compile::SOAP::Trace - help displaying trace details.
my ($answer, $trace) = $call->(%params); # now $trace is a XML::Compile::SOAP::Trace my $req = $trace->request; # HTTP message which was sent my $res = $trace->response; # HTTP message received my $start = $trace->date; my $dura = $trace->elapse; $trace->printTimings; $trace->printErrors; $trace->printTimings(\*STDERR); $trace->printRequest(pretty_print => 1); $trace->printResponse;
This help module simplifies user access to the trace data, as produced by a SOAP call (client side).
As KINDs are defined "encode" (the time required by the translator build by XML::Compile::Schema to translate Perl into an XML::LibXML tree), "transport", and "decode" (from XML::LibXML tree into Perl)>. The transport components are also provided separately, as "stringify" (by XML::LibXML to convert a tree into text), "connect" (for the network message exchange by HTTP::Daemon), and "parse" (parsing answer string into XML)
See printTimings().
example:
print $trace->elapse('decode');
[2.31] When an $error is provided, it is added to the internal list of errors. The $error parameter may be a Log::Report::Exception, a Log::Report::Message or a simple string.
If you want to see more output, try adding "<use Log::Report mode =" 3;>>
-Option --Default pretty_print 0
-Option --Default pretty_print 0
This module is part of XML-Compile-SOAP distribution version 3.28, built on August 01, 2022. Website: http://perl.overmeer.net/CPAN/
Copyrights 2007-2022 by [Mark Overmeer <markov@cpan.org>]. For other contributors see ChangeLog.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See http://dev.perl.org/licenses/
2022-08-04 | perl v5.34.0 |