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.
In reply to Problem with SOAP::Transport::TCP by runningwithscissors
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |