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
- From the 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 frame and from the pop-up menu, select . The Select an Enterprise Service
Resource Adapter window is displayed.
- Select the IBM WebSphere Adapter for Flat Files (version 6.0.0)
from the ’CWYFF_FlatFile’ Connector Project and click Next.
- 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.

The Configure Settings for Discovery Agent window
- (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.
- (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.
- In the Find and Discover Enterprise Services window,
click the Run Query button to display the meta-data
tree of the Flat Files adapter.
- 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.

The Find and Discover Enterprise Services
window
- 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:

The
Configure Objects window
- In the Generate Artifacts window, do the following:
- Click New to create a new business integration
module.
- In the New Module window, enter the Module
name and click Finish.
- In the Generate Artifacts window, enter
the folder name.
- 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.

The
Generate Artifacts window
- Enter the Event Distribution Database properties.
Note: Properties
marked with an asterisk (*) are required.
- Enter the Flat Files adapter ActivationSpecification properties.
Note: Properties marked with an asterisk (*) are required.
- Enter the logging and tracing values.
Note: Properties
marked with an asterisk (*) are required.
- (Optional) Enter the BiDi properties.
Note: Clear
theTurn BiDi Off check box, otherwise BiDi support
will not be invoked.
- 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.