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 > FTP > Configure the module for deployment > Configure the adapter for outbound processing

Selecting a data type and operation name

Use the external service wizard to select a data type and to name the operation associated with the data type. For outbound communications, the external service wizard gives you the choice of three different data types: user-defined type, generic FTP business object, and generic FTP business object with business graph. Each data type corresponds to a business object structure.

Before you can perform the following steps, you must have specified the connection properties for the adapter to connect to the FTP server.

To select a data type and name the operation associated with it, follow this procedure.


Procedure

  1. In the Add, Edit, or Remove Operations window, click Add to create an operation.

  2. In the Specify the I/O Properties window, select an operation from the Operation kind drop-down list. In this example, the Create operation is selected.

  3. In the The data type for the input operation drop-down list, select a data type and click Next. In this example, the User defined data type is selected.

    If you select User defined type, you must provide a user-defined data binding to support it. The data bindings provided by the Generic FTP business object support only generic input types for the supported operations.

  4. To have the file name returned or to have True or False returned during Delete and ServerToServer operations, select the Enable response type for the operation check box. For Exists, List and Retrieve operations, a response type is required, and by default the Enable response type for the operation check box is selected.

  5. Click Next.

  6. In the Specify the I/O Properties window, type a name for the operation in the Operation name field. Name the operation something meaningful. If this module is going to be used to create a customer record, name it something like createCustomer. For more information about the types of operations the adapter can perform, see Supported operations.

    Names cannot contain spaces.

    Figure 1. Specify the I/O Properties window

  7. In the Specify the Operation Input area, select New for the Input Type field to create a data type. To use an existing data type, click Browse and select it.


Results

A data type is defined for the module and the operation associated with this data type is named.


What to do next

If you choose to add and configure a data binding to be used with the module, Select Use a data format configuration from the Data format options list. Click Select next to the Data Format field. Proceed with configuring the data binding with the steps mentioned in Configure the data binding and data handler topic.

If you choose to use the default data binding, proceed to Setting interaction specification properties and generating the service.

Configure the module for outbound processing


Previous topic: Setting deployment and runtime properties


Next topic: Configure data binding and data handler