Use the enterprise service discovery wizard to set the connection
properties necessary to enable communication between the adapter and the enterprise
information file system (EIS). In this tutorial you will enable the data transformation
capabilities of the adapter by specifying optional values that will convert
unstructured data into a business object. For your actual implementation,
you avoid enabling data transformation (creating a pass-through scenario)
by retaining all of the defaults and clicking next.
- In WebSphere Integration Developer, start the enterprise service
discovery wizard:
- Switch to the Business Integration Perspective by clicking . Then click Business
Integration (default) and click OK.
- Click and click Next.
Note: If Enterprise Service Discovery is not displayed, select
the Show all wizards checkbox, expand Business Integration,
and click Enterprise Service Discovery. Then click Next.
- In the Select an Enterprise Service Resource Adapter window,
select IBM WebSphere Adapter for Flat Files (version 6.0.2) from
the 'CWYFF_FlatFile' Connector Project and click Next.
Note: If the 'CWYFF_FlatFile' Connector Project isn't listed, complete
the following steps to make it appear:
- Click Import Resource Adapter.
- Browse for the Connector file CWYFF_FlatFile.rar.
- Select a target server type from the drop down menu.
- Click Finish.
- Optional: If you are asked if you want to switch to
the J2EE perspective, click Yes.
- Complete the following steps in the Configure Settings
for Discovery Agent window to enable data transformation.
- For the Folder name field, browse to
the path C:\Program Files\IBM\ResourceAdapters\FlatFiles\adapter\flatfile\samples. This is where the tutorial XSD schemas for the business objects are
stored in the default installation. For this tutorial, you will use the sample
Customer.xsd
- Leave the Character Set field empty.
- From the Content Type list, select text/xml as
the format to be used for all business objects. This is a one
time setting and is used to bundle a content type with a corresponding data
binding.
- When you set the Content Type value,
the DataBindingType field is populated with XMLBOSerializerDataBinding
automatically. This is the name of the data binding corresponding
to the content type.
Figure 1. The
Configure Settings for Discovery Agent window
- Click Next.
- Set the logging level so that you can see any errors that might
arise during configuration.
- Click Show Advanced. The
button changes to Hide Advanced.
- In the Log file output location field, accept the default
path of the log file.
- From the Logging Level list, select FINEST.
- Click Next.
Result
The connection properties
that the enterprise service discovery wizard uses to communicate with the
enterprise information system are set. The wizard advances to the
Find
and Discover Enterprise Services screen.