runningwithscissors has asked for the wisdom of the Perl Monks concerning the following question:
I am running ActivePerl 5.10.1 Build 1007 on Windows XP, and I have SOAP-Lite 0.712 installed.
When I try to execute the following code:
use SOAP::Transport::TCP; my $daemon = SOAP::Transport::TCP::Server->new(LocalAddr => '192.16 +8.1.15', LocalPort => 4200, Listen => 5, Reuse => 1); $daemon->dispatch_to('Hello'); print "SOAP TCP server listening...\n"; print " Host: ", $daemon->sockhost, "\n"; print " Port: ", $daemon->sockport, "\n"; $daemon->handle(); package Hello; sub hello { shift; return "Hello " . shift; }
I get the following error: Can't locate object method "new" via package "SOAP::Transport::TCP::Server" at C :/Perl/site/lib/SOAP/Transport/TCP.pm line 169.
The line in question is: $self = $class->SUPER::new(@methods);
I have tried reinstalling the module, but to no avail.
Any help or insight would be greatly appreciated.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Problem with SOAP::Transport::TCP
by mr_mischief (Monsignor) on Sep 01, 2010 at 02:53 UTC | |
by runningwithscissors (Initiate) on Sep 01, 2010 at 23:37 UTC | |
by mr_mischief (Monsignor) on Sep 02, 2010 at 03:35 UTC | |
|
Re: Problem with SOAP::Transport::TCP
by aquarium (Curate) on Sep 01, 2010 at 00:58 UTC | |
by mr_mischief (Monsignor) on Sep 01, 2010 at 02:56 UTC |