HP WBEM Services Software Developer's Kit for HP-UX Provider and Client Developer's Guide A.01
XML Example
Appendix B122
The following example shows a request to get the names of instances of
the CIM_ComputerSystem class (there is generally only one instance),
followed by a response containing the name ofthe system. Items showing
important elements of the message are highlighted.
Example B-1 Request sent by client
<?xml version="1.0" ?>
<CIM CIMVERSION="2.0" DTDVERSION="2.0">
<MESSAGE ID="3075" PROTOCOLVERSION="1.0">
<SIMPLEREQ>
<IMETHODCALL NAME="EnumerateInstanceNames">
<LOCALnamespacePATH>
<namespace NAME="root"/>
<namespace NAME="cimv2"/>
</LOCALnamespacePATH>
<IPARAMVALUE NAME="CLASSNAME">
<CLASSNAME NAME="CIM_ComputerSystem"/>
</IPARAMVALUE>
</IMETHODCALL>
</SIMPLEREQ>
</MESSAGE>
</CIM>
Example B-2 Reply received from CIM Server
<?xml version="1.0" encoding="utf-8"?>
<CIM CIMVERSION="2.0" DTDVERSION="2.0">
<MESSAGE ID="3075" PROTOCOLVERSION="1.0">
<SIMPLERSP>
<IMETHODRESPONSE NAME="EnumerateInstanceNames">
<IRETURNVALUE>
<INSTANCENAME CLASSNAME="CIM_ComputerSystem">