mrguy123 has asked for the wisdom of the Perl Monks concerning the following question:
I have tried to write it according to the SOAP::WSDL module, as so:#!/exlibris/metalib/m4_b/product/bin/perl use SOAP::Lite; { my $soap_request = SOAP::Lite->new(); $soap_request->uri('http://www.soaplite.com/Demo'); $soap_request->proxy('http://services.soaplite.com/hibye.cgi'); my $soap_response = $soap_request->hi(); my $result = $soap_response->result; print "$result\n"; }
However, I get this error message:#!/exlibris/metalib/m4_b/product/bin/perl use SOAP::WSDL; { my $soap_request=SOAP::WSDL->new(); $soap_request->wsdl('http://www.soaplite.com/Demo'); $soap_request->proxy('http://services.soaplite.com/hibye.cgi'); $soap_request->wsdlinit; my $soap_response = $soap_request->call('hi'); my $result = $soap_response->result; print "the result is: $result\n"; }
According to the module documentation, SOAP::WSDL basically expands on SOAP::Lite, so what worked in SOAP::Lite should also work in SOAP::WSDL. Does anybody have any idea what might be the problem? Also, any info or examples about SOAP::WSDL will be highly appreciated.Service description 'http://www.soaplite.com/Demo' can't be loaded: 40 +4 Not Found
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: SOAP::Lite and SOAP::WSDL
by jhourcle (Prior) on Jul 24, 2006 at 15:28 UTC | |
by mrguy123 (Hermit) on Jul 24, 2006 at 15:48 UTC |