SOAP-Lite
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
examples/oo-apache.pl view on Meta::CPAN
#!perl -w
#!d:\perl\bin\perl.exe
# -- SOAP::Lite -- soaplite.com -- Copyright (C) 2001 Paul Kulchenko --
# ---------------------------------------------------------------------
# Object interaction
# connect to service that described by Graham Glass:
# http://www-106.ibm.com/developerworks/library/ws-peer3/?dwzone=ws
# ---------------------------------------------------------------------
use SOAP::Lite;
my $invoice = bless {name => 'My invoice', amount => 41} => 'Invoice';
my $soap = SOAP::Lite
-> proxy('http://localhost:8080/soap/servlet/rpcrouter')
-> maptype({Invoice => 'urn:my_encoding'})
-> uri('urn:demo2:purchasing');
$a = $soap->receive($invoice)->result;
print 'type: ', ref $a, "\n";
print ' name: ', $a->{name}, "\n";
print ' amount: ', $a->{amount}, "\n";
view all matches for this distributionview release on metacpan - search on metacpan
( run in 0.962 second using v1.00-cache-2.02-grep-82fe00e-cpan-9f2165ba459b )