Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Using SOAP::Lite with a WSDL

by lahfordie (Initiate)
on May 20, 2017 at 02:34 UTC ( [id://1190692]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envel
    +ope/" xmlns:was="http://tempuri.org/AWEService/API/WASAPI">
        <soapenv:Header/>
    ...
            </was:RunLocator>
        </soapenv:Body>
    </soapenv:Envelope>
    
  2. or download this
    <?xml version="1.0" encoding="UTF-8"?>
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envel
    +ope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://
    +www.w3.org/2001/XMLSchema-instance">
    ...
    </ns1:RunLocatorResponse>
    </soapenv:Body>
    </soapenv:Envelope>
    
  3. or download this
    <definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:
    +soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s="http://www.w3.o
    +rg/2001/XMLSchema" xmlns:s0="http://tempuri.org/AWEService/API/WASAPI
    +" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tm=
    +"http://microsoft.com/wsdl/mime/textMatching/" xmlns:mime="http://sch
    +emas.xmlsoap.org/wsdl/mime/" xmlns="http://schemas.xmlsoap.org/wsdl/"
    + targetNamespace="http://tempuri.org/AWEService/API/WASAPI">
    <types>
    ...
    </port>
    </service>
    </definitions>
    
  4. or download this
        my $wsdl          = 'https://www.example.com/VISTA/wsdl/LocateDevi
    +ce_RunLocator.wsdl';
        my $lite          = SOAP::Lite
    ...
        my @params        = (SOAP::Data->name(WAS_userName => 'MY_USER'), 
    +SOAP::Data->name(WAS_password => 'MY_PASSWD'), SOAP::Data->name(DEVIC
    +E_NAME => 'MY_SERVER'));
        SOAP::Lite->import(+trace => 'all');
        my $result        = $lite->RunLocator(@params);
    
  5. or download this
    SOAP::Transport::HTTP::Client::new: ()
    SOAP::Lite::call: ()
    ...
    SOAP::Data::DESTROY: ()
    SOAP::Data::DESTROY: ()
    SOAP::Data::DESTROY: ()
    
  6. or download this
    #!/usr/bin/perl
    use strict; use warnings;
    ...
    
    return ($serial, $model, $location);
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2024-04-19 01:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found