I have a simple WSDL. I have listed the XMLTemplate below. I am trying to figure out how to use the keys query to query for multiple hosts or use the HostName type to get the same information.
I have tried logical.name="DKSLA005 or DKSLA006" for the query and just passing DKSLA005 or DKSLA006 to the host name. Does anyone know where there is documentation for the query element?
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://schemas.hp.com/SM/7"> <soapenv:Header/> <soapenv:Body> <ns:RetrieveooHostnameListRequest attachmentInfo="" attachmentData="" ignoreEmptyElements="true"> <!--1 or more repetitions:--> <ns:keys query=""> <!--Optional:--> <ns:HostName type="String" mandatory="" readonly=""></ns:HostName> </ns:keys> </ns:RetrieveooHostnameListRequest> </soapenv:Body></soapenv:Envelope>
What dou want to do exactly ? Can you explain details?
If you want to query response XML you should use XPATH query. You can check XPATH Query details from http://www.w3schools.com .
Plus, in the Library->Utility Operations->XML Porcessing folder there are some XML operations. Read their descriptions.