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

Diff for /pegasus/cgi/htdocs/Attic/InvokeMethod.htm between version 1.3 and 1.4

version 1.3, 2001/06/30 15:28:09 version 1.4, 2004/02/17 11:50:08
Line 1 
Line 1 
 <html> <html>
   <body bgcolor="#CCCCCC">          <body bgcolor="#cccccc">
     <table width="100%">     <table width="100%">
       <tr>       <tr>
         <td width="50%" align="bottom"><h1>Invoke an Extrinsic Method</h1><td>                                  <td width="50%" align="bottom"><h1>Invoke an Extrinsic Method</h1>
                                   <td>
         <td width="50%" align="right">         <td width="50%" align="right">
           <img border=1 src="/pegasus/icons/OpenGroupLogo.gif">                                          <img border="1" src="/pegasus/icons/OpenGroupLogo.gif">
         </td>         </td>
       </tr>       </tr>
     </table>     </table>
     <hr>     <hr>
     <form METHOD=GET ACTION="/pegasus/cgi-bin/CGIClient">                  <form name="InvokeMethod" METHOD="get" ACTION="/pegasus/cgi-bin/CGIClient">
       <INPUT TYPE="hidden" NAME="Operation" VALUE="InvokeMethod">       <INPUT TYPE="hidden" NAME="Operation" VALUE="InvokeMethod">
       <INPUT TYPE="hidden" NAME="hostaddress" VALUE="localhost:5988">       <INPUT TYPE="hidden" NAME="hostaddress" VALUE="localhost:5988">
        <INPUT TYPE="hidden" NAME="debug" VALUE="">                          <INPUT TYPE="hidden" NAME="debug">
       <p>Show the Class Tree for a Namespace.                          <p>
       <p>NameSpace&nbsp;&nbsp;&nbsp; <INPUT TYPE="text" NAME="NameSpace" SIZE=30 VALUE="root/cimv2">                                  Invoke an extrinsic method on an Instance present in the Namespace. <FONT color="#ff0000">
       <p>&nbsp;                                          (Under Construction)</FONT>
       <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;                          <p>NameSpace&nbsp;&nbsp;&nbsp; <INPUT TYPE="text" NAME="NameSpace" SIZE="30" VALUE="root/cimv2">
       <INPUT TYPE="reset" VALUE="Reset">                          <p>
                           <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;
                                   <INPUT TYPE="reset" VALUE="Reset Form">
       <p>       <p>
     </form>     </form>
   
     <hr>     <hr>
     &nbsp;     &nbsp;
     <hr>     <hr>
     <h2>Return Request</h2>     <h2>Return Request</h2>
 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                  If the Cim Server is unable to perform the extrinsic method invocation, one of
 (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.                  the following status codes MUST be returned by the CimServer, where the first
                   applicable error in the list (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.
 <UL> <UL>
      <LI>CIM_ERR_ACCESS_DENIED                          <LI>
      <LI>CIM_ERR_NOT_SUPPORTED (the CimServer does not support extrinsic method invocations)                          CIM_ERR_ACCESS_DENIED
      <LI>CIM_ERR_INVALID_NAMESPACE                          <LI>
      <LI>CIM_ERR_INVALID_PARAMETER (including missing, duplicate, unrecognized or otherwise incorrect parameters)                          CIM_ERR_NOT_SUPPORTED (the CimServer does not support extrinsic method
      <LI>CIM_ERR_NOT_FOUND (the target CIM Class or instance does not exist in the specified namespace)                          invocations)
      <LI>CIM_ERR_METHOD_NOT_FOUND                          <LI>
      <LI>CIM_ERR_METHOD_NOT_AVAILABLE (the CimServer is unable to honor the invocation request)                          CIM_ERR_INVALID_NAMESPACE
      <LI>CIM_ERR_FAILED (some other unspecified error occurred)                          <LI>
                           CIM_ERR_INVALID_PARAMETER (including missing, duplicate, unrecognized or
                           otherwise incorrect parameters)
                           <LI>
                           CIM_ERR_NOT_FOUND (the target CIM Class or instance does not exist in the
                           specified namespace)
                           <LI>
                           CIM_ERR_METHOD_NOT_FOUND
                           <LI>
                           CIM_ERR_METHOD_NOT_AVAILABLE (the CimServer is unable to honor the invocation
                           request)
                           <LI>
                                   CIM_ERR_FAILED (some other unspecified error occurred)</LI>
     </UL>     </UL>
     <hr>     <hr>
     <h2>Additional Description</h2>     <h2>Additional Description</h2>
     <p>     <p>
     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                          Any CIM Server is assumed to support extrinsic methods. Extrinsic methods are
 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                          defined by the Schema supported by the Cim Server. If a Cim Server does not
 method. This allows a CIM client to determine that all attempts to execute extrinsic methods will fail.</p>                          support extrinsic method 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 method. This
                           allows a CIM client to determine that all attempts to execute extrinsic methods
                           will fail.</p>
     <hr>     <hr>
     <h2>C++ API</h2>     <h2>C++ API</h2>
     <pre>     <pre>
Line 54 
Line 73 
                 const String&amp; methodName,                 const String&amp; methodName,
                 const Array<CIMValue>&amp; inParameters,                 const Array<CIMValue>&amp; inParameters,
                 Array<CIMValue>&amp; outParameters) = 0;    </pre>                 Array<CIMValue>&amp; outParameters) = 0;    </pre>
   <hr><p style="margin-top: 0; margin-bottom: 0"> <font size="2">Demonstration                  <hr>
      Prepared by the OpenGroup Manageability Work Group Pegasus Development Team</font>                  <p style="MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px">
                           <font size="2">Demonstration Prepared by the OpenGroup Manageability Work Group
      <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>)                                  Pegasus Development Team</font>
                   <p style="MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px">
                           <font size="2">See (<a href="http://www.opengroup.org/management">http://www.opengroup.org/management</a>)
      for more information on Pegasus</font>      for more information on Pegasus</font>
                   <p style="MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px">
      <p style="margin-top: 0; margin-bottom: 0"> <font size="1">Last Modified <!--webbot bot="Timestamp" S-Type="EDITED"                          <font size="1">Last Modified <!--webbot bot="Timestamp" S-Type="EDITED"
     S-Format="%A, %B %d, %Y %I:%M:%S %p" startspan -->Friday, June 29, 2001 06:46:22 PM<!--webbot bot="Timestamp" i-CheckSum="54909" endspan -->&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;      S-Format="%A, %B %d, %Y %I:%M:%S %p" startspan -->
      Copyright @ The Open Group 2001&nbsp;</font>                                  Friday, June 29, 2001 06:46:22 PM<!--webbot bot="Timestamp" i-CheckSum="54909" endspan -->
                                   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Copyright @ The Open Group 2001&nbsp;</font>
    <script>    <script>
            document.InvokeMethod.hostaddress.value = top.hostAddress;            document.InvokeMethod.hostaddress.value = top.hostAddress;
        document.InvokeMethod.debug.value = top.debug        document.InvokeMethod.debug.value = top.debug
Line 70 
Line 92 
  
            window.focus();            window.focus();
    </script>    </script>
                   </p>
   </body>   </body>
 </html> </html>
   
   
   


Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2