in reply to Access Web service via CGI
This is the code I used. You can look at the SOAP messages by running it from the command line.Failed to locate method (getmd5hash) in class (Demo) at /home/soaplite +/lib/SOAP/Lite.pm line 2195.
#!/usr/bin/perl -w use strict; use SOAP::Lite +trace=>qw{method trace debug}; my $soap_response = SOAP::Lite -> uri('http://www.soaplite.com/Demo') -> proxy('http://services.soaplite.com/hibye.cgi') -> getmd5hash("test"); my @out = $soap_response->paramsout; my $res = $soap_response->result; print "Content-type: text/html\n\n"; print "Result is $res, outparams are @out\n";
|
|---|