Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: SOAP::Lite syntax

by graq (Curate)
on Oct 11, 2005 at 12:34 UTC ( [id://499136]=note: print w/replies, xml ) Need Help??


in reply to SOAP::Lite syntax

So anyway, now that I know that the .NET server is configured as literal, this seems to solve my problem:
#!perl use Data::Dumper; use SOAP::Lite; my $soap = SOAP::Lite -> uri('http://www.theClient.info/Service') -> on_action( sub { join '/', 'http://www.theClien.info/Service', +$_[1] } ) -> proxy('http://www.theClien.com/Service.asmx') -> autotype(0); my $method = SOAP::Data->name('companyData')->attr( {xmlns=>"http://ww +w.theClien.info/Service"} ); my $eventCode = SOAP::Data->name('eventCode' => 'EVENT01'); my $userName = SOAP::Data->name('userName' => 'USER'); my $password = SOAP::Data->name('password' => 'PASS'); my $som = $soap->call($method => ( SOAP::Data->name('eventCode' => $eventCode), SOAP::Data->name('userName' => $userName), SOAP::Data->name('password' => $password) ));

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://499136]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (5)
As of 2024-04-19 13:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found