Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1059921]
help
Chatterbox?
and John Coltrane plays...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2016-12-04 12:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (65 votes). Check out past polls.