On Friday, June 24, 2005 2:54 PM, suppressed wrote:
SOAP_Action test_soap <<EOR
sub {
return 2;
}
EOR
test.pl
------
#!/usr/bin/perl
use SOAP::Lite;
my $ic = SOAP::Lite
-> uri('http://www.mydomain.com/Vend/SOAP')
-> proxy("http://localhost:7780/mycatalog/")
-> test_soap();
print $ic;
====================
If I run test.pl it just prints "1" and returns
Ummm, seems I need a lesson or two in Perl. I had presumed that as
"test_soap" was "Return 2" that print $ic would have printed "2", not "1".
But, it seems not, presumably you can only "Return" boolean True or False,
so 2=1... So all is fine, SOAP is now working for me. :-)
_______________________________________________ interchange-users mailing list suppressed http://www.icdevgroup.org/mailman/listinfo/interchange-users
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.