This topic describes tasks that you can perform in the
operations editor.
This topic contains the following subtopics:
For a description of the components of an operations file and the
components of an operation see Basic information about operations.
Adding a port type
Follow these
steps:
- Right-click Ports.
- Select Add Port Type. The Port
Name window opens.
- In the Port Name, type the name for the
new port type.
- Select OK.
The new port type is added to the operations file.
Removing a port type
Follow
these steps:
- Right-click the port type that you want to remove.
- Select Remove Port Type.
The port type and its contents are removed from the operations
file.
Adding an operation
Follow
these steps:
- Right-click the port type to which you want to add an operation.
- Select Add Operation. The Operation
Name window opens.
- Type the name for the new operation.
- Click OK.
The new operation is added to the port type. The new operation
includes:
- An Input section to contain input messages.
- An Output section to contain output messages.
- A Faults section to contain fault messages.
Deleting an operation
Follow
these steps:
- Right-click the operation that you want to delete.
- Select Delete operation.
The operation and its contents are removed from the operations
file.
Adding a message
As shown in Table 1, the
number of messages that you can add to the
Input,
Output,
or
Faults sections of an operation depends
on the invoke type of the operation itself (see
Invoke types).
Table 1. Messages for different invoke types| Invoke Type: |
Number of messages permitted for the Input,
Output, or Faults section: |
Where the message is stored: |
| LINK with COMMAREA |
One |
Under the section (Input, Output,
or Faults) |
| LINK with Channel |
Multiple |
Under a message subfolder that is automatically
created under the section (Input, Output,
or Faults) |
| WebSphere MQ |
One |
Under the section (Input, Output,
or Faults) |
The messages that you specify when the invoke type of the
operation is
Link with Channel become containers
in the channel that is passed to the nonterminal application (see
Generation properties of the LINK with Channel invoke type).
Follow these steps
to add a message:
Right-click the section to which you want to add a message
(
Input,
Output, or
Faults).
Note: If the invoke type of the operation is LINK
with Channel, and you are adding a second or subsequent
message to the section, and the section is Input or Output,
then right-click the message subfolder under the section.
Select
Add <message_type>:
The Select a Message window
opens.
In the
Select a Message window:
- In the first column, expand the service flow project, the subproject,
and the Messages folder containing the message
file that you want to use.
- Select the message file.
- In the second column, select the message that you want to use.
Note: The
third column displays the names of the message elements that are contained
in the message that you selected. You cannot select a message element,
you are adding the entire message.
- Click OK.
The message is added to the section or
to the message subfolder that you right-clicked in step 1.
Deleting a message
subfolder (LINK with Channel)
This operation is available
only when the invoke type of the operation is LINK with
Channel and you have added one or more messages to the
message subfolder in the Input or Output section.
Follow
these steps:
- Right-click the message subfolder under the connection.
- Select Delete <message_type>, where <message_type> is Input or Output.
The message subfolder and its contents are deleted from
the section.
Deleting a message
Follow
these steps:
- Right-click the message that you want to delete.
- Select Delete <message_type> message, , where <message_type> is Input, Output,
or Fault.