i2blind has asked for the wisdom of the Perl Monks concerning the following question:
trying<wsdl:message name="getMonitorSnapshotsRequest"><wsdl:part name="in0" +type="impl:ArrayOf_xsd_string"> </wsdl:part><wsdl:part name="in1" type="apachesoap:Map"> </wsdl:part><wsdl:part name="in2" type="xsd:string"> </wsdl:part><wsdl:part name="in3" type="xsd:string"> </wsdl:part><wsdl:part name="in4" type="xsd:string"> </wsdl:part></wsdl:message>
$service = SOAP::Lite -> service('URL goes here'); $data = 'array data goes here'; $response = $service->getMonitorSnapshots($data,'','username','passwo +rd'); print $response;
In this instance the first parameter is an array of values and the second and third are single values. In particular the data for the first parameter is an array of paths to search in.
If I have 3 pahts that need to be in an wsdl array or type apachesoap:Map
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: passing arrays and maps in soap::WSDL
by Anonymous Monk on Apr 10, 2015 at 21:50 UTC | |
|
Re: passing arrays and maps in soap::WSDL
by GotToBTru (Prior) on Apr 10, 2015 at 21:22 UTC |