WebSphere Adapter for FTP

Generating artifacts

Generate business object definitions and related artifacts by using the enterprise service discovery wizard to first add a container business object to the business function and then create a new assembled adapter application, also referred to as an SCA module. After the business object definitions and related artifacts are generated, they are contained within the newly assembled adapter application (the SCA module).

  1. In the Generate Artifacts window, click New next to the Module field to create a new module.
  2. In the New Module window, type a meaningful name in the Module Name field, then click Finish. The name you type is the name that will be given to the assembled adapter application (the SCA module) after the business object is generated.
  3. In the Generate Artifacts window, select the Use discovered connection properties option.
    This image is described in the surrounding text.
    Generate Artifacts window
  4. Scroll down to enter the required Activation Spec Properties, as indicated by the asterisk (*). See Activation specification properties for more information on the properties. These required properties are:
    • DataSource JNDI Name

      The JNDI name used to create a JDBC connection from a data source (EPJNDI) that will be used by the adapter to store the events in the event persistence database table. The data source must already be configured in WebSphere Process Server's administrative console.

    • Event Table Name

      Table name that is created to store the events.

    • Event Directory

      ftp://[username:password@]hostName[:portNumber]/eventDirectory

      If username and password are not specified here, they must be specified in the User Name and Password fields.

    • Event File Mask

      Polls only the files that match the file mask, which by default is *.*.

    • FTP Get Quantity

      Number of files retrieved from the remote FTP URL with each remote poll.

    • FTP Poll Frequency

      Determines the frequency that the adapter polls the FTP server. For example, if set to 6, the adapter will poll the event directory once every 6 standard polls.

    • Local Event Directory

      Specifies the local system directory where the adapter will download the event files from the FTP server.

  5. Optional: Scroll down to enter the logging and tracing properties.
  6. Click Finish.

Result

The FTPFileInboundInterface.wsdl and FTPFileInboundInterface.export artifacts, and the FTPFileBG, FTPFile, UnstructuredContent, CustomerWrapperBG, CustomerWrapper and Customer business objects are generated. The application business objects specified by the user are updated with application-specific information for data transformation and saved in the business object location.
Related reference
Adapter configuration properties

Terms of use |

Last updated: Mon 30 Oct 2006 03:48:53

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