uCosminexus Service Platform, Reception and Adapter Definition Guide

[Contents][Glossary][Index][Back][Next]

2.4.4 Adding FTP reception

The procedure for adding new FTP reception is as follows:

  1. From Eclipse menu, select [Window] - [View display] - [Others].
    [View display] dialog is displayed.
  2. Select [HCSC-Definer] - [HCSCTE view] and click the [OK] button.
    Service definition list is displayed in tree view.
  3. Right-click a business process in tree view and select "Add user-defined reception".
    Reception-wise selection wizard is displayed.
  4. From reception-wise drop-down list, select "FTP reception".
    If you click the [Next] button, a dialog box is displayed for entering information required to add FTP reception.
  5. Specify [Reception name].
    Specify FTP reception name within 1 to 40 bytes.
  6. Click the [Finish] button.
    If you click the [Finish] button, the required file is created and it is saved in the repository. Service adapter definition screen (basic) is displayed.
  7. Set the definition information of FTP reception.
    The following table describes the setting items of FTP reception:

    Table 2-7 Setting items of user-defined reception definition of FTP reception screen (basic)

    Type Item Setting contents Setting
    User-defined reception information Reception name The set reception name is displayed. A
    Reception ID Reception ID is displayed. Change it, if necessary. A
    Name of default operation Select the operation to be invoked by default. A
    Operation Add the operation to be used from the following operations:
    • PUT: Transfer a file from FTP client to FTP server
    • GET: transfer a file from FTP server to FTP client
    • GETINFO: Acquire information of FTP server and send it to FTP client
    A
    Operation information Communication model Set "Synchronization". A
    Request message Reception Message format The format definition file for the following request messages is set as per the setting of "Operation":
    • In case of PUT: urecp_ftp_put_request.xsd#
    • In case of GET: urecp_ftp_get_request.xsd#
    • In case of GETINFO: urecp_ftp_getinfo_request.xsd#
    N
    Service component "Use" checkbox Check this checkbox, if necessary. Y
    Data transformation definition When you specify message format of a service component, set the data transformation definition of request message from reception to a service component. Y
    Response message Reception Message format The format definition file for the following response messages is set as per the setting of "Operation":
    • In case of PUT: urecp_ftp_put_response.xsd#
    • In case of GET: urecp_ftp_get_response.xsd#
    • In case of GETINFO: urecp_ftp_getinfo_response.xsd#
    N
    Service component "Use" checkbox Check this checkbox, if necessary. Y
    Data transformation definition When you specify message format of a service component, set the data transformation definition of response message from a service component to reception. Y

    Legend:
    A: Set this item without fail.
    Y: Setting of this item is optional.
    N: Confirm the displayed contents.

    Note#
    The directory in which the file is to be stored is "Installation directory of service platform\CSC\schema\ftprecp".
    For details on the setting items of user-defined reception definition screen other than the above-mentioned items, see 1.2.6 User-Defined Reception Definition Window in the manual Service Platform Reference Guide.

  8. Click the user-defined reception (Details) tab.
    User-defined reception definition screen (details) is displayed.
  9. Set the definition information of FTP reception.
    The following table describes the setting items of FTP reception:

    Table 2-8 Setting items of user-defined reception definition screen (details) of FTP reception

    Type Item Setting contents Setting
    User-defined reception control information Self-defined file Confirm that the following self-defined file is set:
    • cscurecpftp.properties#1
    Y
    EAR file Confirm that the following EAR file is set:
    • cscmsg_urecp_ftp.ear#2
    N

    Legend:
    Y: Setting of this item is optional.
    N: Confirm the displayed contents.

    Note#1
    cscurecpftp.properties, which is being set, is a template file. Select cscurecpftp.properties, if necessary and click the [Edit] button. Modify contents of self-defined file. For details on the property files, see FTP reception definition file in the manual Service Platform Reference Guide.

    Note#2
    The directory in which the file is to be stored is "Installation directory of service platform\CSC\lib".