Interface Map How to
Websphere Integration Developer v612
Contents
How to use interface maps to facilitate the wiring between two SCA components
Introduction
Overview | |
Related links | Interface and Business Object Mapping and Human Tasks (IBM DeveloperWorkis Guided Tour)
|
How to use interface maps to facilitate the wiring between two SCA components
Related Links | |
How to make two SCA components with different interfaces talk to one another
How can we get these two SCA components to talk to one another? | |
Create an Interface Mapping In the Assembly Diagram,
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
| |
Connect parameters
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. |
How to link an import and and export together through an interface map
Related links | Interface and Business Object Mapping and Human Tasks (IBM DeveloperWork Guided Tour)
| ||
Overview The import and export must be linked together through an interface map (i.e InboundToOutbound) to allow data to be passed between them. The export/import were created using the the adapter pattern wizard Do the following steps to create an interface map:
| Completed interface map CustomersIn Interface SeparateCustomerOut Interface | ||
Create an interface map
| | ||
Generate implementation Right-click on the interface map (i.e InboundToOutbound) and select Generate Implementation. | |||
Select folder Select default folder and click OK to continue. | |||
Add source interface Click on the Add source interface icon. | |||
Select source interface Select a source interface to be added (i.e CustomersIn) and click OK to continue. Save your work. Note that some of the error and warning messages have disappeared. | |||
Add target interface A source interface has been added (i.e CustomersIn). We now have to add a target interface. Click on the Add target interface icon to add a target interface. | |||
Select target interface From the Add target Interface window, select a target interface to be added (i.e SeparateCustomersOut) and click OK to continue. Save your work. Note that error and warning messages still exist. | |||
Connect operations to define mapping A target interface has been added (i.e SeparateCustomersOut). Connect the source interface operation (i.e emitCustomer) to the target interface operation (i.e create). Save your work after making the connections. | |||
Connect parameters to define mapping After connecting the operations, the parameter mapping artifacts appear. Connect the source interface parameter(i.e emitCustomerInput) to the target interface parameter (i.e createInput). Save your work after making the connections. | |||
No comments:
Post a Comment