Example: Using the Execute Operation Implementation Type

One of the most common implementation types is Execute operation, which implements the process by a service provider operation, and may specify messages exchanged.

  1. Create a process and call it ReceiveOrder.


  2. Open its property sheet, click the Implementation tab, and select Execute operation from the Type list. The corresponding fields display:


  3. 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:


  4. Next, create a service interface, and call it CustomerInteraction:


  5. Then click Finish to exit the wizard. The operation property sheet opens. Enter ReceiveOrder for the operation name:


  6. 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

    Output message

    OrderRequestConfirmation

    OutInformation

    The dialog box displays as follows:



  7. 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:


  8. 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: