HP WBEM Services for HP-UX and Linux System Administrator's Guide

Example of a Client Request
Example Response
Chapter 438
Example Response
The table shows the response to the request to EnumerateInstances for
PG_Operating System.
The return value is a named instance. Named instances include both
INSTANCENAME (the instance with its key properties) and INSTANCE
(all the properties). Because this instance has so many properties, some
of them have been cut from the example text.
Table 4-2 EnumerateInstances Response for PG_OperatingSystem Class
1 <?xml version =”1.0” encoding=”utf-8”?> Lines 1 - 3
indicate this is
an XML-encoded
message. (See
end at lines 171
and 172.)
2 <CIM CIMVERSION=”2.0” DTDVERSION=”2.0”>
3 <MESSAGE ID=”51000” PROTOCOLVERSION=”1.0”
4 <SIMPLERSP> This is simple
response to
Enumerate
Instances
method
5 <IMETHODRESPONSE NAME=”EnumerateInstances”>
6 <IRETURNVALUE> Return value is
named instance
(all properties)
7 <VALUE.NAMEDINSTANCE>
8 <INSTANCENAME CLASSNAME=”PG_OperatingSystem”> Begin keys of
class name
9 <KEYBINDING NAME=”CreationClassName”
One key for this
instance. It is
CreationClassN
ame, a string,
and its value is
“CIM_Operating
System”
10 <KEYVALUE VALUETYPE=”string”>
11 CIM_OperatingSystem
12 </KEYVALUE>
13 </KEYBINDING>