« Return to Thread: method provider without instances

Re: method provider without instances

by Prash_blah :: Rate this Message:

Reply to Author | View in Thread

When there is no instances in a method provider I get the following output on the server side:

Parse error. Expected token(s) XTOK_ERROR or XTOK_IRETVALUE, found tag number 273 (see cimXmlParser.h) and following xml: </SIMPLERSP>

-Prash

Prash_blah wrote:
Hi,

I had created a method provider without any instances as it was purely a method provider only and had no properties or qualifiers; which I guess is allowed by the CIM server.

While trying to invoke this method from wsman, wsman would segfault. On going through the sources, I found that in cim_get_op_from_enum() we are calling client->cc)->ft->enumInstanceNames() and this is where it aborts. I am not sure why it is aborting here? Is this an sfcc issue.

Also as this provider does not have an instance, is it possible to invoke this method without any selectors from wsman????

I was also wondering if there was a way to invoke a particular method for all the instances without providing individual selectors.

Thanks
Prashanth

 « Return to Thread: method provider without instances