Rational Developer for System z, Version 7.6

Basic information about operations

This topic describes in more detail the relationship between an operation and the program that it is used to invoke (a nonterminal application, an outbound Web service, or a flow).

An operation is an artifact that specifies the information required to invoke a flow, a terminal application, or a nonterminal application.

Note: An operation associated with a flow is called an interface operation because it defines the programming interface of the flow (see Associating an interface operation with a flow).

Information accessible through an operation

An operation is stored in an operations file, which contains the following types of elements:
  • Each operations file contains one or more port types.
  • Each port type contains one or more operations.
  • Each operation contains references to messages:
    • One input message (required)
    • One output message (required)
    • One or more fault messages (optional)

You can see these entities when you use the operations editor to open an operations file. For example, in sample operations file, there could be the following:
  • A single port type ("programs")
  • A single operation ("queryAccount"), which contains:
    • The name of the input message (msg_ORDERSTATUS) for the operation
    • The name of an output message (msg_ORDERINFO) for the operation
    • No fault messages are defined.
The following table describes the elements specified in a operation:
Table 1. Elements specified in an operation
Element: Description:
Port type The class to which the operation belongs.
Operation The name of the operation and of the program to be invoked.
Input message A reference to the input message of the program to be invoked.
Output message A reference to the output message of the program to be invoked.
Faults messages A reference to the faults messages (if any) of the program to be invoked.

Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)