One of the most common implementation types is Execute operation, which implements the process by a service provider operation, and may specify messages exchanged.
- Create a process and call it ReceiveOrder.
- Open its property sheet, click the Implementation tab, and select Execute operation from the Type list. The corresponding fields display:
- Click the Create tool to the right of the Implemented by list to open a wizard to create an operation. First, create a service provider, and call it OrderManagement:
- Next, create a service interface, and call it CustomerInteraction:
- Then click Finish to exit the wizard. The operation property sheet opens. Enter ReceiveOrder for the operation name:
- Click the Input/Output tab and select Request-Response from the Type list, then enter the following information:
Groupbox
|
Name
|
Message format
|
Input message
|
OrderRequest
|
InInformation
|
Outputmessage
|
OrderRequestConfirmation
|
OutInformation
|
The dialog box displays as follows:
- Click OK to close the operation property sheet, select Receive request and reply in the Action type list, and then click the New tool to the right of the Message mapping list in the Received message and Sent message groupboxes to create variables for the received and sent messages:
- Click OK to close the process property sheet. The process symbol displays a small icon to indicate that it is implemented using a web service operation, which displays in the Browser: