soap_fail.conf

LoadModule apreq_module modules/mod_apreq2.so Listen 8998 ErrorLog /home/inzoik/soap_fail/global_err PidFile /home/inzoik/soap_fail/soap_fail.pid <Location /session> SetHandler perl-script PerlHandler Apache::SOAP PerlSetVar dispatch_to "/home/inzoik/soap_fail/webservice/" </Location>

webservice/Hello.pm

package Hello; sub echo { return @_; }; 1;
Started the webservices using the following command
/apache/httpd-2.2.16/bin/httpd -f /home/inzoik/soap_fail/soap_fail.con +f

test.pl

use SOAP::Lite; my $soap = SOAP::Lite->uri('http://myhost:8998/Hello')->proxy('http:// +myhost:8998/session'); $soap->echo('Hello', 'World');
Running test.pl gives me
500 Internal Server Error at ./test.pl

global_err

[Tue Mar 26 17:53:40 2013] [notice] Apache/2.2.16 (Unix) mod_apreq2-20 +090110/2.7.1 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming norma +l operations [Tue Mar 26 17:59:27 2013] [error] [client 10.32.238.200] Illegal fiel +d name 'APR::Table=HASH(0xb7e2de0)' at /perl/5.10.1/lib/site_perl/5.1 +0.1/SOAP/Transport/HTTP.pm line 806\n

In reply to Re: SOAP::Lite incompatible usage of HTTP::Headers by inzoik
in thread SOAP::Lite incompatible usage of HTTP::Headers by inzoik

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.