Wednesday, July 16, 2008

Business Object Mapping

Business Object Mapping How to

Websphere Integration Developer v612

Contact us...

Table of Contents

How to use interface maps to facilitate the wiring between two SCA components

Related Links

How to use interface maps to facilitate the wiring between two SCA components

Related Links

Interface and Business Object Mapping and Human Tasks (IBM DeveloperWorkis Guided Tour)

Interface map
Mapping interfaces

How to make two SCA components with different interfaces talk to one another

  1. The OrderProcessing component has OrderProcessing interface
  2. The ShippingService component expects a ShippingService interface.

How can we get these two SCA components to talk to one another?

Create an Interface Mapping

In the Assembly Diagram,

  1. Wire OrderProcessing component to Shipping Service component

  2. In the Add Wire dialog window that appears (WID detects that the two interfaces are different), select create an interface etc.. and click OK.

An interface map (OrderProcessingToShippingServiceMap) that seats between the OrderProcessing and ShippingService component is created (see below).

Open the Interface Mapping Editor

Double-click OrderProcessingToShippingServiceMap to open the interface mapping editor.

Connect operations

  1. Connect the placeOrder(OrderProcessing) operation to the shipOrder(ShippingService) operation.

  2. Click on the connection you just created between the two interfaces to display the parameters of each interface.

Connect parameters

  1. Connect order(placeOrder) to shipTo(shipOrder) parameter.
  2. Connect orderNumber(shipOrder) to orderNumber(placeOrder) parameter.

Parameter flow

Notice the parameter flow (i.e move). The pointed end points to the direction of the flow. For example, order goes to shipTo.

No comments: