Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^2: Connection to SOAP WSDL service using perl

by runrig (Abbot)
on Oct 27, 2013 at 16:42 UTC ( #1059921=note: print w/ replies, xml ) Need Help??


in reply to Re: Connection to SOAP WSDL service using perl
in thread Connection to SOAP WSDL service using perl

And the problem was ... ?

my $wsdl = XML::Compile::WSDL11->new("https://myservice.com/service.ph +p?wsdl");
I'm pretty sure XML::Compile will not download the wsdl from a URL. You'll have to do that yourself, and then pass the file name to new().
$wsdl->importDefinitions('doQueryAllSysStatus'); my $call = $wsdl->compileClient('doQueryAllSysStatus');
I'm also pretty sure you do not need to call importDefinitions. At least not with the method you want to compile. importDefinitions is, e.g., for supplying additional xsd files that define the service. Which you will have to download if there are any.


Comment on Re^2: Connection to SOAP WSDL service using perl
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (13)
As of 2014-08-01 13:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Who would be the most fun to work for?















    Results (20 votes), past polls