Generating service artifacts for inbound operations

The generation of service artifacts for inbound operations is done using the enterprise service discovery wizard in WebSphere® Integration Developer.

Why and when to perform this task

As you complete the process of generating service artifacts for inbound operations, you will enter all the information necessary to configure the adapter for the first time. The output from the enterprise service discovery wizard is saved to a business integration module, which contains the business objects, the import file (which describes configuration for outbound processing, as defined by the ConnectionFactory), the export file (which describes configuration for inbound event processing, as defined by the ActivationSpecification), and the Web Services Description Language (WSDL) file.

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 frame and from the pop-up menu, select New > Enterprise Service Discovery. The Select an Enterprise Service Resource Adapter window is displayed.
  3. Select the IBM WebSphere Adapter for Flat Files (version 6.0.0) from the ’CWYFF_FlatFile’ Connector Project and click Next.
  4. In the Configure Settings for Discovery Agent window, as illustrated in the graphic below, set the connection properties by selecting Inbound for the ServiceType and click Next.

    In the Configure Settings for Discovery Agent window, you can select the ServiceType

    The Configure Settings for Discovery Agent window

  5. (Optional) To enable BiDi support, select the BiDi Transformation check box in the Configure Settings for Discovery Agent window and select the appropriate BiDi format.
  6. (Optional) At the bottom of the Configure Settings for Discovery Agent window, click the Show Advanced button. You can set logging and tracing levels here. Click Next.
  7. In the Find and Discover Enterprise Services window, click the Run Query button to display the meta-data tree of the Flat Files adapter.
  8. Under Objects discovered by query, for inbound operations, select the Inbound root node of the meta-data tree. As illustrated in the graphic below, the objects that can be selected for import are displayed in the Objects discovered by query box. Highlight the object you would like to import, then click the Add Selected button to add the objects to the Objects to be imported box. Click Next.
    Note: To remove objects from the Objects Discovered by query text box, highlight the object that you would like to remove and click the Remove Selected button.

    In the Objects Discovered by query text box, you can add and remove objects to be imported.

    The Find and Discover Enterprise Services window

  9. In the Configure Objects window, specify the properties for the objects that will be imported by the discovery agent. As illustrated in the graphic below, for the BO Location property, specify the folder name within the Business Integration module where the .xsd file should be generated. Click Next.

    The supported operations for Inbound include:

    • Read

    In the Configure Objects window, you can set the BO Location property.

    The Configure Objects window

  10. In the Generate Artifacts window, do the following:
    1. Click New to create a new business integration module.
    2. In the New Module window, enter the Module name and click Finish.
    3. In the Generate Artifacts window, enter the folder name.
    4. As illustrated in the graphic below, under "Specify the connection properties which will be used to connect to the Enterprise Information System at runtime", clickUse discovered connection properties.

      In the Generate Artifacts window, select Use discovered connection properties.

      The Generate Artifacts window

    5. Enter the Event Distribution Database properties.
      Note: Properties marked with an asterisk (*) are required.
    6. Enter the Flat Files adapter ActivationSpecification properties.
      Note: Properties marked with an asterisk (*) are required.
    7. Enter the logging and tracing values.
      Note: Properties marked with an asterisk (*) are required.
    8. (Optional) Enter the BiDi properties.
      Note: Clear theTurn BiDi Off check box, otherwise BiDi support will not be invoked.
  11. When you are finished entering property values, click Finish.

What to do next

Now, you can use WebSphere Integration Developer to generate reference bindings for the SCA component that the enterprise service discovery wizard creates.

Related tasks
Enabling logging
Enabling tracing
Configuring properties
Related reference
Custom properties
J2C activation specification properties
Resource adapter properties

Terms of use |

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

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