I am working with mod_soap and can't seem to find out how
to get my client to communicate. The
docs
explain how to configure Apache, but do not specify any
examples of how the client accesses a 'SOAPed' module.
Here is my http.conf info:
<Location /mod_soap>
SetHandler perl-script
PerlHandler Apache::SOAP
PerlSetVar dispatch_to "/usr/local/apache/lib/soap"
</Location>
Here is the module i am trying to access (/usr/local/apache/lib/soap/Demo.pm):
package Demo;
sub foo { return "foo\n" }
sub bar { return "bar\n" }
1;
And finally, the client:
use strict;
use SOAP::Lite;
my $soap = SOAP::Lite
->uri('http://localhost/Demo')
->proxy('http://localhost/mod_soap/')
;
print $soap->foo()->result();
When i run the client (webserver is active), i get the
following error:
500 unexpected EOF before status line seen
And this line is reported in the web server error log:
[notice] child pid 18225 exit signal Segmentation fault (11)
Any help is greatly apprectiated - it might be time for me
to break out the packet sniffer . . . .
Thanks,
jeffa
A flute with no holes is not a flute . . .
a doughnut with no holes is a danish.
- Basho,
famous philosopher