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 > Email > Configure the module for deployment > Configure the module for outbound processing > Configure the module using the generic email data type
Configure the data binding
Data bindings read the fields in a business object and fill the corresponding fields in an email. 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 an email with information it receives in the business object.
You must enter service configuration properties for the connection to the mail server.
You have defined the data type for the module and named the operation associated with this data type. You have chosen to specify a data binding for each operation.
To browse for or create a data binding for the module, follow this procedure.
You can configure the data bindings before running the external service wizard using IBM Integration Designer. To configure the data bindings, select New > Configure Binding Resource in IBM Integration Designer and complete the data binding windows described in this documentation.
Procedure
- In the Specify the I/O Properties window, click Select next to the Data format field.
- In the Select a Data Format Transformation window, select the Use existing data format transformation from the list option. From the list, select EmailWrapperDataBinding. 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
- In Specify the Data Transformation Properties window, click Next.
This window is used for configuring the data handlers.
- In Configure a New Data Transformation window, provide the data binding configuration details.
- In the Configure a New Data Transformation window, the Module defaults to the module name you typed earlier in the wizard. To use a different module to create a data binding for, select New to create a module.
Figure 2. Naming the data binding configuration
- If you want to select a new folder for the artifact, click Browse and select a new folder location. If you do not browse for a new folder location, the artifacts are created in the root directory for the module.
- Type a Name for the data binding configuration and click Finish.
Results
A data binding is configured for use with the module.
What to do next
Specify data binding properties.