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

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

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2