Generating reference bindings for outbound operations

After you have generated service artifacts, you can optionally 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

  1. From the WebSphere Integration Developer window, switch to the Business Integration perspective by selecting Window > Open Perspective > Other from the menu bar. All perspectives are displayed. Select Business Integration perspective in WebSphere Integration Developer.
  2. In the Business Integration Perspective of WebSphere Integration Developer, right-click the module, and select Open With > Assembly Editor. The Assembly Diagram window appears with the modules Import component in view.
  3. To create a Stand-alone Reference, click the top-most icon in the left-side (vertical) frame of the Assembly Diagram window.

    The Assembly Diagram window displays the new menu of icons.

    The Assembly Diagram window

    A new menu of icons appears. The graphic above illustrates the new menu of icons.

  4. Create a Stand-alone Reference. As illustrated in the graphic below, drag the Stand-alone Reference icon into the Assembly Diagram window.

    Drag the Stand-alone Reference icon into the Assembly Diagram window.

    The Assembly Diagram window

  5. Wire the Standalone Reference to the import module. As illustrated in the graphic below, click and drag the module‘s Import component to the new component. This draws a wire from the Import component to the new Stand-alone Reference.

    Draw a wire from the Import connection to the new Stand-alone Reference.

    The Assembly Diagram window

    The Add Wire dialog box is displayed.

  6. Click OK. The new Standalone Reference component displays in the Assembly Diagram window with a wire that connects it to the modules Import component.
  7. Under Dynamic web projects, right click the Web project and select Properties. The Web project contains the service client.
  8. Select projects, the Flat Files RAR file, and select a default output folder.
  9. Add your Web project as a dependent J2EE project with the Dependency editor.
    1. Open the Dependency editor by right clicking your module and selecting Open Dependency Editor.
    2. In the J2EE Project Selection window, select your project and click OK.
  10. Save the file, File > Save.

What to do next

Now, you are ready to export the EAR file.

Terms of use |

Last updated: Sun Mar 12 11:47:11 2006

(c) Copyright IBM Corporation 2005.
This information center is powered by Eclipse technology (http://www.eclipse.org)