After you have generated service artifacts, you can generate reference
bindings using WebSphere® Integration
Developer.
Before you begin
An adapter project
must be created and configured on your workspace. In addition, WebSphere Integration
Developer must be running in order to complete this task.
About this task
Reference bindings
bind the adapter project to the service component and are used by other WebSphere
Business Integration SCA components to access the adapter. Creating a reference
to the adapter from the project module links the adapter to the other server
processes.
To generate reference bindings, use the following procedure.
How to perform this task
- Expand FlatFileInboundModule and right-click the next level of
FlatFileInboundModule. Select . The Assembly Diagram
window appears with an Import component in view.
- In the Assembly Diagram window, hover over
the icons and find Component (with no implementation type).
Figure 1. Component (with no implementation type)
icon
- Create a Component with no implementation type by single-clicking
the icon and then selecting the second tier Component (with no
implementation type) icon. Drag it into the Assembly
Diagram window and single-click to place the icon. To
automatically organize the workspace, right-click in the Assembly
Diagram window and select Arrange Contents Automatically.
- To wire the Component to the import module, click and drag the
module‘s Import component to the new component. This draws a wire
from the Import component to the new component.
Figure 2. Adding a wire to the new component
- In the Add Wire dialog box, click OK. The new component displays in the Assembly Diagram window with
a wire that connects it to the modules Import component.
- Create a Java component that will act like an endpoint listener. During event delivery of the inbound operation, the adapter invokes
the emitFlatFile method of the component implementation
and passes the inbound business object as a parameter.
- Right click the component and select .
- Select the default package and click OK.
- Click .
Result
You have just created reference
binding for your adapter project.
What to do next
Use WebSphere
Integration Developer to test the assembled adapter package.