After you have generated service artifacts, you can generate reference
bindings using WebSphere® Integration
Developer.
Before you begin
Prerequisite: An adapter project must be created and configured on
your workspace. Once an adapter project is created, you must generate reference
findings to bind to the service component.
Why and when to perform this task
Reference bindings are used by other WebSphere Business Integration
SCA components to access the adapter. You create a reference to the adapter
from the project module so as to link the adapter to the other server processes.
Steps for this task
- From WebSphere Integration Developer window, switch to the Business
Integration perspective by selecting from
the menu bar. All perspectives are displayed. Select Business Integration
perspective in WebSphere Integration Developer.
- In the Business Integration Perspective of WebSphere Integration
Developer, right-click the module, and select . The Assembly Diagram window appears with
the modules Import component in view.
- To create a new component, click the top-most icon in the left-side
(vertical) frame of the Assembly Diagram Window.

The
Assembly Diagram window
A new menu of icons appears.
The graphic above illustrates the new menu of icons.
- Create a Component with no implementation. As illustrated
in the graphic below, drag the Create a Component icon into the Assembly
Diagram window.

The Assembly
Diagram window
- 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.
- 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 acts like an endpoint
listener. During event delivery of the inbound operation, the adapter
invokes the READ method of the component implementation and passes the inbound
business object as a parameter.
- As illustrated in the graphic below, right click the component
and select .

The
Assembly Diagram window
- Select the package where the Java code should be created and
click OK.
- As illustrated in the graphic below, enter the Package name
when prompted and click OK.

Package name dialog box
- Click OK in the Generate Implementation window.
- In the generated Java implementation, scroll to the READ method.
As illustrated in the graphic below, you can add custom code inside the READ
method to process the delivered business object according to your specific
business needs.

Sample
READ code
- Save the file, .
What to do next
Now, you are ready to export the EAR file.