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
Message body not shown because it is not plain text.