rfb has asked for the wisdom of the Perl Monks concerning the following question:
my journeys into soap have been quite sucessful lately, until I ran into this wall..
the soap service:
any input?
-ryan
the soap service:
and my client script:use strict; use SOAP::Transport::HTTP; my $daemon = SOAP::Transport::HTTP::Daemon->new (LocalAdd => 'localhost', LocalPort => 8082); $daemon->dispatch_to("BenderRemote")->handle; package BenderRemote; sub ping { print "ping called\n"; return scalar(localtime()); } sub new { my ($pkg) = @_; print "new!\n"; my $self = {}; return bless $self, $pkg; } sub loadData { my ($self) = @_; print "loaddata!\n"; $self->{data} = "fobars"; return 1; }
It seem to be having trouble running the second method, which I'm not starting via call()..use strict; use Data::Dumper; use SOAP::Lite; my $soap = SOAP::Lite ->uri("http://host/BenderRemote") ->proxy("http://host:8082"); my $br = $soap->call("new")->result(); $br->loadData(); print Dumper $br;
any input?
-ryan
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: SOAP::Lite games.
by jwest (Friar) on Oct 24, 2001 at 01:38 UTC | |
by rfb (Sexton) on Oct 24, 2001 at 01:50 UTC | |
Re: SOAP::Lite games.
by rfb (Sexton) on Oct 24, 2001 at 02:30 UTC | |
by Fletch (Bishop) on Oct 24, 2001 at 06:28 UTC | |
by mulvaney (Initiate) on Aug 19, 2002 at 16:05 UTC |
Back to
Seekers of Perl Wisdom