next up previous contents
Next: Using the Remote CIMOM Up: CIM Client API Previous: Selecting a Protocol   Contents

Choosing the Encoding

Now that the protocol is defined, an encoding scheme is selected. Two types of encoding are currently available: CIM-XML (also known as WBEM), and Binary. CIM-XML is supported by all CIMOMs, and Binary is specific to OpenWBEM. A remote CIMOM ``handle'' can be obtained in the following manner:
OW_CIMOMHandleIFCRef handle;
handle = new OW_CIMXMLCIMOMHandle(httpClient);
or handle = new OW_BinaryCIMOMHandle(httpClient);


Bart Whiteley 2002-12-12