(file) Return to InvokeMethod.htm CVS log (file) (dir) Up to [Pegasus] / pegasus / cgi / htdocs

 1 karl  1.1 <html>
 2             <body bgcolor="#CCCCCC">
 3               <table width="100%">
 4                 <tr>
 5           	<td width="50%" align="bottom"><h1>Invoke an Extrinsic Method</h1><td>
 6           	<td width="50%" align="right">
 7           	  <img border=1 src="/pegasus/icons/OpenGroupLogo.gif">
 8                   </td>
 9                 </tr>
10               </table>
11               <hr>
12               <form METHOD=GET ACTION="/pegasus/cgi-bin/CGIClient">
13                 <INPUT TYPE="hidden" NAME="Operation" VALUE="InvokeMethod">
14                 <p>Show the Class Tree for a Namespace.
15                 <p>NameSpace&nbsp;&nbsp;&nbsp; <INPUT TYPE="text" NAME="NameSpace" SIZE=30 VALUE="root/cimv20">
16                 <p>&nbsp;
17                 <p>I<INPUT TYPE="submit" VALUE="Submit" name="Submit">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
18                 <INPUT TYPE="reset" VALUE="Reset">
19                 <p>
20               </form>
21               
22 karl  1.1     <hr>
23               &nbsp;
24               <hr>
25               <h2>Return Request</h2>
26           If the Cim Server is unable to perform the extrinsic method invocation, one of the following status codes MUST be returned by the CimServer, where the first applicable error in the list
27           (starting with the first element of the list, and working down) is the error returned. Any additional specific interpretation of the error is given in parentheses. 
28           <UL>
29                <LI>CIM_ERR_ACCESS_DENIED 
30                <LI>CIM_ERR_NOT_SUPPORTED (the CimServer does not support extrinsic method invocations) 
31                <LI>CIM_ERR_INVALID_NAMESPACE 
32                <LI>CIM_ERR_INVALID_PARAMETER (including missing, duplicate, unrecognized or otherwise incorrect parameters) 
33                <LI>CIM_ERR_NOT_FOUND (the target CIM Class or instance does not exist in the specified namespace) 
34                <LI>CIM_ERR_METHOD_NOT_FOUND 
35                <LI>CIM_ERR_METHOD_NOT_AVAILABLE (the CimServer is unable to honor the invocation request) 
36                <LI>CIM_ERR_FAILED (some other unspecified error occurred)
37           
38               </UL>
39               <hr>
40               <h2>Additional Description</h2>
41               <p>
42               Any CIM Server is assumed to support extrinsic methods. Extrinsic methods are defined by the Schema supported by the Cim Server. If a Cim Server does not support extrinsic method
43 karl  1.1 invocations, it MUST (subject to the considerations described in the rest of this section) return the error code CIM_ERR_NOT_SUPPORTED to any request to execute an extrinsic
44           method. This allows a CIM client to determine that all attempts to execute extrinsic methods will fail.</p>
45           
46               <hr>
47               <h2>C++ API</h2>
48               <pre>
49               virtual CIMValue invokeMethod(
50           		const String&amp; nameSpace,
51           		const CIMReference&amp; instanceName,
52           		const String&amp; methodName,
53           		const Array<CIMValue>&amp; inParameters,
54           		Array<CIMValue>&amp; outParameters) = 0;
55               </pre>
56             <hr><p style="margin-top: 0; margin-bottom: 0"> <font size="2">Demonstration
57                Prepared by the OpenGroup Manageability Work Group Pegasus Development Team</font>
58           
59                <p style="margin-top: 0; margin-bottom: 0"> <font size="2">See (<a href="http://www.opengroup.org/management">http://www.opengroup.org/management</a>)
60                for more information on Pegasus</font>
61           
62                <p style="margin-top: 0; margin-bottom: 0"> <font size="1">Last Modified <!--webbot bot="Timestamp" S-Type="EDITED"
63               S-Format="%A, %B %d, %Y %I:%M:%S %p" startspan -->Monday, March 26, 2001 05:51:53 PM<!--webbot bot="Timestamp" i-CheckSum="50405" endspan -->&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
64 karl  1.1      Copyright @ The Open Group 2001&nbsp;</font>
65           
66             </body>
67           </html>
68           
69           
70           

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2