< Previous | Next >

Generating the mediation flow implementation

Generate the implementation for the mediation flow component.

In order to complete the steps in this task, you need to have the prerequisite mediation module and library imported into your workspace.

To create the mediation flow:

  1. In the Business Integration view, expand DynamicStockquote.
  2. To open the module assembly, double click Assembly Diagram. The assembly editor opens, showing the assembled module:
    Sample assembly diagram

    The assembled module has an export, StockQuoteService, that receives the request for a stock quote from the client and invokes StockQuote_MediationFlow. Notice that the partner reference on StockQuote_MediationFlow is not wired to an import. This is because we will invoke the stock quote service dynamically, and therefore do not need a static binding. You can wire an import to a reference on the mediation flow component, and design your flow to invoke the import's service statically as a fallback if the dynamic selection of a service is not successful.

  3. Right-click StockQuote_MediationFlow > Generate Implementation.
  4. Click OK to generate the implementation in module DynamicStockQuote. The mediation flow editor opens showing the source interface and target reference. Proceed to building the request flow.

Feedback
(C) Copyright IBM Corporation 2005, 2006. All Rights Reserved.
< Previous | Next >