Skip Menu |
 

This queue is for tickets about the XML-Compile-SOAP CPAN distribution.

Report information
The Basics
Id: 42528
Status: resolved
Priority: 0/
Queue: XML-Compile-SOAP

People
Owner: Nobody in particular
Requestors: dexter [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.78
Fixed in: (no value)



Subject: error: Token 'info' not recognized as reason
Download (untitled) / with headers
text/plain 4.1k
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.
Subject: Re: [rt.cpan.org #42528] error: Token 'info' not recognized as reason
Date: Mon, 19 Jan 2009 17:47:56 +0100
To: Piotr Roszatycki via RT <bug-XML-Compile-SOAP [...] rt.cpan.org>
From: Mark Overmeer <mark [...] overmeer.net>
Download (untitled) / with headers
text/plain 1.3k
* Piotr Roszatycki via RT (bug-XML-Compile-SOAP@rt.cpan.org) [090119 14:58]: Show quoted text
> Mon Jan 19 09:58:09 2009: Request 42528 was acted upon. > Transaction: Ticket created by DEXTER > Queue: XML-Compile-SOAP > Subject: error: Token 'info' not recognized as reason > Broken in: 0.78 > > I run the example SOAP server with broken XML input document and I'm > getting:
Show quoted text
> 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 > > I wonder that resons codes are uppercased:
There are function names with lower-case and constants with upper-case. The mistake is in lib/XML/Compile/SOAP/Server.pm line 59: - $exception->throw(reason => 'info'); + $exception->throw(reason => 'INFO'); You can much better use XML::Compile::SOAP 2.00 development release to develop new stuff. It contained the same error, however ;-) -- Regards, MarkOv ------------------------------------------------------------------------ Mark Overmeer MSc MARKOV Solutions Mark@Overmeer.net solutions@overmeer.net http://Mark.Overmeer.net http://solutions.overmeer.net
Download (untitled) / with headers
text/plain 1.2k
On Pon. 19 Sty. 2009, 11:48:16, Mark@Overmeer.net wrote: Show quoted text
> * Piotr Roszatycki via RT (bug-XML-Compile-SOAP@rt.cpan.org) [090119
14:58]: Show quoted text
> > Mon Jan 19 09:58:09 2009: Request 42528 was acted upon. > > Transaction: Ticket created by DEXTER > > Queue: XML-Compile-SOAP > > Subject: error: Token 'info' not recognized as reason > > Broken in: 0.78 > > > > I run the example SOAP server with broken XML input document and I'm > > getting:
>
> > 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 Show quoted text
> > line 59 > > > > I wonder that resons codes are uppercased:
> > There are function names with lower-case and constants with upper-case. > The mistake is in lib/XML/Compile/SOAP/Server.pm line 59: > - $exception->throw(reason => 'info'); > + $exception->throw(reason => 'INFO'); > > You can much better use XML::Compile::SOAP 2.00 development release > to develop new stuff. It contained the same error, however ;-)
I'd love to use new XML::Compile::SOAP 2.00 but it is uncompatible with XML::Compile::SOAP::Daemon 0.12.
Subject: Re: [rt.cpan.org #42528] error: Token 'info' not recognized as reason
Date: Mon, 19 Jan 2009 18:32:40 +0100
To: Piotr Roszatycki via RT <bug-XML-Compile-SOAP [...] rt.cpan.org>
From: Mark Overmeer <mark [...] overmeer.net>
Download (untitled) / with headers
text/plain 687b
* Piotr Roszatycki via RT (bug-XML-Compile-SOAP@rt.cpan.org) [090119 16:59]: Show quoted text
> Queue: XML-Compile-SOAP > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=42528 > > > I'd love to use new XML::Compile::SOAP 2.00 but it is uncompatible with > XML::Compile::SOAP::Daemon 0.12.
Maybe... need to check on that. Cannot be much what has to change. -- Regards, MarkOv ------------------------------------------------------------------------ Mark Overmeer MSc MARKOV Solutions Mark@Overmeer.net solutions@overmeer.net http://Mark.Overmeer.net http://solutions.overmeer.net
There is no reason not to upgrade to the newest release anymore


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.