Subject: | error: Token 'info' not recognized as reason |
I run the example SOAP server with broken XML input document and I'm
getting:
info: 2009/01/19-15:35:37 CONNECT TCP Peer: "127.0.0.1:40238" Local:
"127.0.0.1:38080"
trace: procedure GetBilledMSISDN selected
info: connection ended with force; error: Token 'info' not recognized as
reason
at /home/dexter/opt/ActivePerl-5.10-amd64/site/lib/Log/Report.pm line
68
Log::Report::report(HASH(0x267d3d0), "info",
Log::Report::Message=HASH(0x26862e0)) at
/home/dexter/opt/ActivePerl-5.10-amd64/site/lib/Log/Report/Exception.pm
line 38
Log::Report::Exception::throw(Log::Report::Exception=HASH(0x2687030),
"reason", "info") at
/home/dexter/opt/ActivePerl-5.10-amd64/site/lib/XML/Compile/SOAP/Server.pm
line 59
XML::Compile::SOAP::Server::__ANON__("GetBilledMSISDN",
XML::LibXML::Element=SCALAR(0x26914a8), HASH(0x2683b60)) at
/home/dexter/opt/ActivePerl-5.10-amd64/site/lib/XML/Compile/SOAP/Daemon.pm
line 175
XML::Compile::SOAP::Daemon::process(My::Daemon=HASH(0x1247bc8),
HTTP::Request=HASH(0x26454f8), XML::LibXML::Document=SCALAR(0x267d1f0))
at
/home/dexter/opt/ActivePerl-5.10-amd64/site/lib/XML/Compile/SOAP/HTTPDaemon.pm
line 128
XML::Compile::SOAP::HTTPDaemon::runRequest(My::Daemon=HASH(0x1247bc8),
HTTP::Request=HASH(0x26454f8), HTTP::Daemon::ClientConn=GLOB(0x2645870))
at
/home/dexter/opt/ActivePerl-5.10-amd64/site/lib/XML/Compile/SOAP/HTTPDaemon.pm
line 81
(eval)(My::Daemon=HASH(0x1247bc8), HTTP::Request=HASH(0x26454f8),
HTTP::Daemon::ClientConn=GLOB(0x2645870)) at
/home/dexter/opt/ActivePerl-5.10-amd64/site/lib/XML/Compile/SOAP/HTTPDaemon.pm
line 74
XML::Compile::SOAP::HTTPDaemon::process_request(My::Daemon=HASH(0x1247bc8))
at /home/dexter/opt/ActivePerl-5.10-amd64/site/lib/Net/Server.pm line
141
Net::Server::run_client_connection(My::Daemon=HASH(0x1247bc8)) at
/home/dexter/opt/ActivePerl-5.10-amd64/site/lib/Net/Server/PreFork.pm
line 268
(eval)(My::Daemon=HASH(0x1247bc8)) at
/home/dexter/opt/ActivePerl-5.10-amd64/site/lib/Net/Server/PreFork.pm
line 268
Net::Server::PreFork::run_child(My::Daemon=HASH(0x1247bc8)) at
/home/dexter/opt/ActivePerl-5.10-amd64/site/lib/Net/Server/PreFork.pm
line 224
Net::Server::PreFork::run_n_children(My::Daemon=HASH(0x1247bc8), 5) at
/home/dexter/opt/ActivePerl-5.10-amd64/site/lib/Net/Server/PreFork.pm
line 139
Net::Server::PreFork::loop(My::Daemon=HASH(0x1247bc8)) at
/home/dexter/opt/ActivePerl-5.10-amd64/site/lib/Net/Server.pm line 116
Net::Server::run(My::Daemon=HASH(0x1247bc8), "no_client_stdout", 1,
"name", "mtsoap", "port", 38080, "log_file", [11 more]) at
/home/dexter/opt/ActivePerl-5.10-amd64/site/lib/XML/Compile/SOAP/Daemon.pm
line 141
XML::Compile::SOAP::Daemon::run(My::Daemon=HASH(0x1247bc8), "name",
"mtsoap", "port", 38080, "log_file", "/dev/stderr", "log_level", [7
more]) at server.pl line 128
I wonder that resons codes are uppercased:
grep 'our @reason'
/home/dexter/opt/ActivePerl-5.10-amd64/site/lib/Log/Report/Util.pm
our @reasons = N__w('TRACE ASSERT INFO NOTICE WARNING
and you call them as lowercased:
$ grep 'info __x' Server.pm
info __x"callback {name} validation failed", name => $name;
{ info __x"callback {name} did not return an answer", name =>
$name;
but I don't know the Log::Report infrastructure very well.