Setting connection properties for enterprise service discovery

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.

  1. In WebSphere Integration Developer, start the enterprise service discovery wizard:
    1. Switch to the Business Integration Perspective by clicking Window > Open > Perspective > Other. Then click Business Integration (default) and click OK.
    2. Click File > New > Enterprise Service Discovery 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.
  2. 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:
    1. Click Import Resource Adapter.
    2. Browse for the Connector file CWYFF_FlatFile.rar.
    3. Select a target server type from the drop down menu.
    4. Click Finish.
  3. Optional: If you are asked if you want to switch to the J2EE perspective, click Yes.
  4. Complete the following steps in the Configure Settings for Discovery Agent window to enable data transformation.
    1. 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
    2. Leave the Character Set field empty.
    3. 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.
    4. 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
      Specify connection properties in the Configure Settings for Discovery Agent window
    5. Click Next.
  5. Set the logging level so that you can see any errors that might arise during configuration.
    1. Click Show Advanced. The button changes to Hide Advanced.
    2. In the Log file output location field, accept the default path of the log file.
    3. From the Logging Level list, select FINEST.
  6. 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.

Terms of use |


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