<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7638.1">
<TITLE>Cimbiote methods</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<BR>

<P><FONT SIZE=2>Hi all,<BR>
<BR>
For a project at the dutch tax-office, we are planning to use CIM. Our<BR>
primairy goal is to be able to start/stop services that have a script in<BR>
/etc/init.d. Unfortunatly, we haven't been able to find a MOF/provider that<BR>
is able to do this for us. So we decided to write our own.<BR>
<BR>
We want to use Cimbiote for this. The example you wrote (example_plugin.py)<BR>
is pretty clear, except for the methods. I believe there are tho<BR>
methods, set and get_array_element, and they both require some args.<BR>
<BR>
I am trying to access the method using this command:<BR>
<BR>
# wbemcli cm<BR>
'<A HREF="http://localhost/root/cimv2:ExamplePlugin.Filename=">http://localhost/root/cimv2:ExamplePlugin.Filename=</A>"file-9.txt"'<BR>
get_array_element<BR>
<BR>
This returns "a general error occured, not covered by more specific code",<BR>
and I should check some logs. I have tried various options for the method<BR>
invocation, but I never get a valid response. Can you give me an example of<BR>
how to execute this method?<BR>
<BR>
Regards,<BR>
<BR>
Bart</FONT>
</P>

</BODY>
</HTML>