Previous | Table of Contents | Next |
The following request and response messages are exchanged between ORB clients and servers via the invoke and locate RPCs:
• Invoke Request identifies the target object and the operation and contains the principal, the operation context, a ServiceContext, and the in and inout parameter values.
• Invoke Response indicates whether the operation succeeded, failed, or needs to be reinvoked at another location, and returns a ServiceContext. If the operation succeeded, the result and the out and inout parameter values are returned. If it failed, an exception is returned. If the object is at another location, new RPC binding information is returned.
• Locate Request identifies the target object and the operation.
• Locate Response indicates whether the location is in the current process, is elsewhere, or is unknown. If the object is at another location, new RPC binding information is returned.
All message formats begin with a field that indicates the byte order used in the CDR encoding of the remainder of the message.
The CDR byte order of a message is required to match the NDR byte order used by DCE-RPC to transmit the message.