rbc has asked for the wisdom of the Perl Monks concerning the following question:
in case the problem is in the example perl object World#!/usr/bun/perl -w use strict; #added by me cause perlmonks taught me so :) use SOAP::Lite +autodispatch => uri=>"World", proxy=>'http://soapserver.mycompany.com/soap/soapserver.cgi'; print HelloWorld(); print GoodByeWorld("sweet");
Here's the output:package World; sub new { bless {}, shift; }; sub HelloWorld { my ($self) = @_; return "Hello World\n"; }; sub GoodByeWorld { my ($self,$adjective) = @_; return "Goodbye $adjective World\n"; } 1;
$ ./soapClientAutoDispatch.pl Use of inherited AUTOLOAD for non-method main::HellowWorld() is deprec +ated at ./soapClientAutoDispatch.pl line 7. Use of uninitialized value in string eq at /usr/lib/perl5/site_perl/5. +6.1/SOAP/Lite.pm line 2374. Use of uninitialized value in string eq at /usr/lib/perl5/site_perl/5. +6.1/SOAP/Lite.pm line 2374. Use of inherited AUTOLOAD for non-method main::GoodByeWorld() is depre +cated at ./soapClientAutoDispatch.pl line 8. Goodbye sweet World
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(jeffa) Re: SOAP autodispatch question
by jeffa (Bishop) on Apr 03, 2002 at 22:16 UTC | |
by rjray (Chaplain) on Apr 04, 2002 at 00:47 UTC | |
by rbc (Curate) on Apr 03, 2002 at 22:26 UTC |