Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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 taking refuge in the Monastery: (6)
As of 2014-07-26 10:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (175 votes), past polls