Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

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(" +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?

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2016-10-25 23:54 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (330 votes). Check out past polls.