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

Re: Connection to SOAP WSDL service using perl

by runrig (Abbot)
on Oct 27, 2013 at 16:33 UTC ( [id://1059918]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    require_once('nusoap.php');
    $soapClient = new nusoap_client('https://myservice.com/service.php +?w
    +sdl', true);
    $result = $soapClient->call( 'doQueryAllSysStatus', array( array( 'cou
    +ntryId' => 1, 'webapiKey' => 'WEBAPI_KEY' ) ) );
    
  2. or download this
    use XML::Compile::WSDL11; # use WSDL version 1.1
    use XML::Compile::SOAP11; # use SOAP version 1.1
    ...
    my $wsdl = XML::Compile::WSDL11->new("https://myservice.com/service.ph
    + +p?wsdl"); 
    $wsdl->importDefinitions('doQueryAllSysStatus');
    my $call = $wsdl->compileClient('doQueryAllSysStatus');
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (8)
As of 2024-04-23 07:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found