Skip Menu |

This queue is for tickets about the POE-Component-Server-SOAP CPAN distribution.

Report information
The Basics
Id: 38351
Status: resolved
Priority: 0/
Queue: POE-Component-Server-SOAP

People
Owner: Nobody in particular
Requestors: dmn [...] debian.org
Cc:
AdminCc:

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



Subject: examples/test-server.perl doesn't work (no DONE/CLOSE event in SimpleHTTP)
Date: Sat, 9 Aug 2008 10:55:00 +0300
To: bug-POE-Component-Server-SOAP [...] rt.cpan.org
From: Damyan Ivanov <dmn [...] debian.org>
Hi, After trying (and failing) to get my PoCo-SOAP server to return some response, I tried the example implementation provided in examples/test-server.perl. It failed too. Output is below. Note that if I enable the global POE tracing, it works :| Could you verify if the test-server.perl works for you? POE 1.0003 POE-Component-Server-SOAP 1.13 POE-Component-Server-SimpleHTTP 1.46 SOAP-Lite 0.710.08 Thank you for your time ========== test-server.perl output =================== $ perl examples/test-server.perl Using default HEADERS ( SERVER => POE::Component::Server::SOAP/1.13 ) at /usr/share/perl5/POE/Component/Server/SOAP.pm line 108. Using default MUSTUNDERSTAND ( 1 ) at /usr/share/perl5/POE/Component/Server/SOAP.pm line 148. Using Session Alias as Service Name at /usr/share/perl5/POE/Component/Server/SOAP.pm line 327. Using Session Event as Method Name at /usr/share/perl5/POE/Component/Server/SOAP.pm line 338. Using Session Alias as Service Name at /usr/share/perl5/POE/Component/Server/SOAP.pm line 327. Using Session Event as Method Name at /usr/share/perl5/POE/Component/Server/SOAP.pm line 338. Sending off to the handler: Service MyServer -> Method Sum_Things for 127.0.0.1 at /usr/share/perl5/POE/Component/Server/SOAP.pm line 637. <?xml version="1.0" encoding="UTF-8"?><soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><Sum_Things xmlns="http://localhost:32080/"><c-gensym3 xsi:type="xsd:int">8</c-gensym3><c-gensym5 xsi:type="xsd:int">6</c-gensym5><c-gensym7 xsi:type="xsd:int">7</c-gensym7><c-gensym9 xsi:type="xsd:int">5</c-gensym9><c-gensym11 xsi:type="xsd:int">3</c-gensym11><c-gensym13 xsi:type="xsd:int">0</c-gensym13><c-gensym15 xsi:type="xsd:int">9</c-gensym15><c-gensym17 xsi:type="xsd:int">183</c-gensym17></Sum_Things></soap:Body></soap:Envelope> Finished processing DONE Service MyServer -> Method Sum_Things for 127.0.0.1 at /usr/share/perl5/POE/Component/Server/SOAP.pm line 744. <?xml version="1.0" encoding="UTF-8"?><soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><namesp1:Sum_ThingsResponse xmlns:namesp1="http://localhost:32080/"><s-gensym3 xsi:type="xsd:int">221</s-gensym3></namesp1:Sum_ThingsResponse></soap:Body></soap:Envelope> Did not get DONE/CLOSE event for Wheel ID 2 from IP 127.0.0.1 at /usr/share/perl5/POE/Component/Server/SimpleHTTP.pm line 324. Received _child event from SimpleHTTP, shutting down at /usr/share/perl5/POE/Component/Server/SOAP.pm line 287. Use of uninitialized value in warn at /usr/share/perl5/POE/Component/Server/SimpleHTTP.pm line 1018. ================= test-client.perl output ================ $ perl examples/test-client.perl 500 Server closed connection without sending any data back at /usr/share/doc/libpoe-component-server-soap-perl/examples/test-client.perl line 10 -- dam JabberID: dam@jabber.minus273.org
Download signature.asc
application/pgp-signature 197b

Message body not shown because it is not plain text.

From: martin.ferrari [...] gmail.com
On Sat Aug 09 03:55:24 2008, dmn@debian.org wrote: Show quoted text
> Could you verify if the test-server.perl works for you?
I can also reproduce the problem here. But after some grepping, I found that the culprit is SimpleHTTP. Therefore, I'll be bugging that package, patch included.
Hello, Sorry it took me a while to get back to you! I've verified that this bug is gone with the latest SimpleHTTP. I've released a new version on CPAN that bumps the prereq to make sure. ( v1.14 ) Also, thanks for bringing this to my attention! Please let me know if there's still problems on your end after the update. -- ~Apocalypse