Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^4: Using SOAP::Lite with a WSDL

by lahfordie (Initiate)
on May 22, 2017 at 17:09 UTC ( [id://1190863]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Using SOAP::Lite with a WSDL
in thread Using SOAP::Lite with a WSDL

Awesome! It's working now after a slight modification from this version. I figured out that the faultstring is because I needed an on_action sub to replace the # with a slash.

my $client = SOAP::Lite ->proxy('https://www.example.com/WAS/API/AWEService.asmx?ENDPOINT' +) ->on_action(sub { join '/', @_ }) ->outputxml(1) ->ns('http://tempuri.org/AWEService/API/WASAPI','was');

Now to continue my Perl studies so that I can better understand what else is going on in the SOAP::Lite doc, should I have the misfortune of working with SOAP again.

Thank you, enlightened monk!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2024-04-24 21:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found