OO to Service Manager Integration - WSDL's XML Query (178 Views)
Reply
Trusted Contributor
DBR
Posts: 211
Registered: ‎07-29-2010
Message 1 of 2 (178 Views)

OO to Service Manager Integration - WSDL's XML Query

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>

 

Thanks,

Don

 

Trusted Contributor
ntt00015
Posts: 91
Registered: ‎09-18-2011
Message 2 of 2 (172 Views)

Re: OO to Service Manager Integration - WSDL's XML Query

Hi,

 

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.

 

Regards.

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.