Patrik - 2008-03-18

This semi-complete code returns an incomplete object path:

CIMInstance listenerInstance = myClient.getIndicationListener(null);
listenerInstance.setProperty(...)
...

System.out.println(listenerInstance.getObjectPath());

This returns something like:
//hostname/namespace:CIM_ListenerDestinationCIMXML

when it should be:

//hostname/namespace:CIM_ListenerDestinationCIMXML.SystemCreationClassName="...",SystemName="..."  ...

It seems that the instance returned from getIndicationListener(null) is in some sense malformed?
Because if I create an instance manually with the .newInstance() method this does not occur.

Any help appreciated!
-Patrik