Create an input message file and an input message.
Basic method:
Create a new message file (extension .sfmxsd) to serve as the input message file of the flow.
Within the input message create a message element corresponding to each of the input parameters of the flow.
See the example in Step 1.2: Define the input, output, and variable messages for the top-level flow
Wizards:
See Steps 2 and 3.
Create an interface operation and store a reference to the input message into the interface operation.
Optionally you can at the same time also store into the interface operation a reference to the output message of the flow and references to any fault messages that the flow requires.
Basic method:
Create a new operations file or open an existing operations file (extension .wsdl).
Within the operations file create a new operation to serve as the interface operation of the flow.
Within the new operation create references to the following messages:
The input message of the flow (created in Step 1).
Any fault messages that the flow requires. You can specify these references later if you wish.
See the example in Step 1.3: Create the interface operation for the top-level flow
Import wizards:
The import wizards integrate and automate the tasks of creating interface messages, creating an interface operation, and storing references to the interface messages into the interface operation:
Import COBOL Files wizard:
The Import COBOL Files wizard allows you either to select an operation from an existing operations file or to have the wizard create a new operation in a new operations file.
Import PL/I Files wizard
The Import PL/I Files wizard is similar to the Import COBOL Files wizard but allows you to specify PL/I data definitions as patterns for the interface messages (see Importing PL/I language structures with the Import PL/I Files wizard).
Import Web Service Definition wizard
The Import Web Service Definition wizard generates interface messages and an interface operation together with their respective files from a Web service definition in a WSDL file.
New flow wizards:
The New Flow wizard and the New Flow Recording wizard are described in Step 3 below.
Each of these wizards, in addition to creating a new nonterminal flow or a new terminal flow, also allows you to select or create the interface operation, the input message, and the output message, and store references to the interface messages into the interface operation.
Specify the operation from Step 2 as the interface operation for a flow:
Using an existing flow:
See the example in Associate the operation with the flow.
Creating a new flow:
The New Flow wizard creates a new, empty nonterminal flow and associates a specified interface operation with the new flow (see Creating a flow with the New Flow wizard).
The New Flow Recording wizard allows you to record a new terminal flow and associates a specified interface operation with the new flow (see Creating a flow with the New Flow wizard).
As with the New Flow wizard, you can also specify a variable message for the flow, select or create the interface operation and interface messages, and store references to the interface messages into the interface operation.
Read the input parameters during the progress of the flow:
After you have created the new flow, open the flow in the flow editor.
See the example in Copy data from the input message i_CatalogOrder in which the input parameters from the input message of the main flow CatalogOrder are copied into the input message of a second flow CheckItemAvailability that CatalogOrder is about to invoke.