Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: frank.rothhaupt [...] consol.de
Cc:
AdminCc:

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



Subject: Bug in XML-Compile-SOAP-HTTPDaemon Line 170, 185
Hello, Think i Found a bug in XML::Compile::SOAP::HTTPDaemon accessing the example server produced error connection ended with force; Can't locate object method "header" via package "XML::Compile::SOAP::HTTPDaemon" at /usr/local/share/perl/5.8.8/XML/Compile/SOAP/HTTPDaemon.pm line 170. Line 170: --{ use bytes; $self->header('Content-Length' => length $s); } ++{ use bytes; $resp->header('Content-Length' => length $s); } The same seems to apply to Line 185: sub soapFault($$$$) { my ($self, $version, $data, $rc, $abstract) = @_; my $doc = $self->SUPER::soapFault($version, $data); my $resp = HTTP::Response->new($rc, $abstract); my $s = $resp->content($doc->toString); !!! { use bytes; $self->header('Content-Length' => length $s); } $self->headersForXML($resp); $resp; } Or is something other wrong with my environment? Ciao, Frank
Subject: Re: [rt.cpan.org #41695] Bug in XML-Compile-SOAP-HTTPDaemon Line 170, 185
Date: Sun, 14 Dec 2008 21:53:51 +0100
To: frank Rothhaupt via RT <bug-XML-Compile-SOAP-Daemon [...] rt.cpan.org>
From: Mark Overmeer <mark [...] overmeer.net>
* frank Rothhaupt via RT (bug-XML-Compile-SOAP-Daemon@rt.cpan.org) [081214 16:26]: Show quoted text
> Sun Dec 14 11:26:08 2008: Request 41695 was acted upon. > Transaction: Ticket created by boller > Queue: XML-Compile-SOAP-Daemon > Subject: Bug in XML-Compile-SOAP-HTTPDaemon Line 170, 185 > Broken in: 0.11 > > Think i Found a bug in XML::Compile::SOAP::HTTPDaemon > Or is something other wrong with my environment?
I knew the problem, but forgot to make a new release. It is now corrected in 0.12 -- Thanks for the patch, MarkOv ------------------------------------------------------------------------ Mark Overmeer MSc MARKOV Solutions Mark@Overmeer.net solutions@overmeer.net http://Mark.Overmeer.net http://solutions.overmeer.net
fixed in 0.12