OO to Service Manager Integration - WSDL's XML Query (197 Views)
Trusted Contributor
Posts: 237
Registered: ‎07-29-2010
Message 1 of 2 (197 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">
      <ns:RetrieveooHostnameListRequest attachmentInfo="" attachmentData="" ignoreEmptyElements="true">
         <!--1 or more repetitions:-->
         <ns:keys query="">
            <ns:HostName type="String" mandatory="" readonly=""></ns:HostName>





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

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



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.



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.