in reply to Calling a .NET web service from perl scripts
#!/usr/bin/perl use strict; use warnings; use SOAP::Lite (+trace => 'all', maptype => {}); my $soap = SOAP::Lite -> uri('urn:Example1') -> on_action(sub{sprintf '%s/%s', @_ }) -> proxy('http://localhost/HelloWorld.asmx') -> sayHello(SOAP::Data->type('string')->name('name')); print $soap->sayHello()->result;
|
|---|