IBM BPM, V8.0.1, All platforms > Authoring services in Integration Designer > Services and service-related functions > Access external services with adapters > Configure and using adapters > IBM WebSphere Adapters > Flat Files > Configure the module for deployment > Configure the module for outbound processing

Configure the data binding

Each data type has an equivalent data binding used to read the fields in a business object and fill the corresponding fields in the file. In the external service wizard, you add a data binding to your module and configure it to correspond with your data type. This way, the adapter knows how to populate the fields in the file with the information it receives in the business object.

Select an operation and the data type to be used with it.

To add and configure a data binding for the module, follow this procedure.

Data bindings can be configured before running the external service wizard using IBM Integration Designer. To do this configuration, select New > Configure Binding Resource in IBM Integration Designer and complete the data binding windows described in this documentation.


Procedure

  1. In the Specify the I/O Properties window, select either the Use suggested data format 'FlatFileBaseDataBinding' or the Use a data format configuration option from the Data format options list.

  2. If you select the Use a data format configuration option, click Select to configure the data binding.

  3. In the Select a Data Format Transformation window, select the Use existing data format transformation from the list option. From the list, select FlatFileBaseDataBinding. To configure a custom data binding, select the Select your custom data format transformation from the workspace option. Click Next.

    Figure 1. Selecting the data binding

  4. In Specify the Data Transformation Properties window, click Next.

    This window is used for configuring the data handlers.

  5. In Configure a New Data Transformation window, provide the data binding configuration details.

    1. In the Configure a New Data Transformation window, the Module defaults to the module name you typed earlier in the external service.

      If you want to create a data binding for a different module, select New to create a module.

    2. If you want to select a new folder for the artifact, click Browse and select a new folder location.
    3. Type a Name for the data binding configuration. Click Finish. The data binding name is populated in the Specify the I/O Properties window.


Results

A data binding is configured for use with the module.


What to do next

Select the data handler configuration.

Configure the module for outbound processing


Previous topic: Selecting the operation and data type


Next topic: Configure data handlers