in reply to SOAP autodispatch question
Use of inherited AUTOLOAD for non-method main::HellowWorld() is ...Could this be a typo? Did you accidentally call method HellowWorld instead of HelloWorld? If you notice carefully, the message from GoodByeWorld was delivered. All of those warnings disturb me however ...
UPDATE:
Well, that didn't come out right ;). mod_soap is not a
replacement for autodispatch, in fact, they can be used
together. The problem is that autodispatch does some nasty
UNIVERSAL::AUTOLOAD stuff. So, the solution to get rid
of the warnings is to either not specify -w or use
dispatch_from() instead:
I really prefer this style over autodispatch, but then again, i like my objects to have their own namespace. ;)#!/usr/bin/perl -w use strict; use SOAP::Lite dispatch_from => 'World', uri => 'World', proxy => 'http://soapserver.mycompany.com/soap/soapserver.cgi' ; print World->HelloWorld(); print World->GoodByeWorld("sweet");
jeffa
L-LL-L--L-LL-L--L-LL-L-- -R--R-RR-R--R-RR-R--R-RR B--B--B--B--B--B--B--B-- H---H---H---H---H---H--- (the triplet paradiddle with high-hat)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: (jeffa) Re: SOAP autodispatch question
by rjray (Chaplain) on Apr 04, 2002 at 00:47 UTC | |
|
Re: (jeffa) Re: SOAP autodispatch question
by rbc (Curate) on Apr 03, 2002 at 22:26 UTC |