uCosminexus Service Platform, Reception and Adapter Definition Guide

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

2.5.4 Adding HTTP reception

The procedure for adding a new HTTP reception is as follows:

  1. From Eclipse menu, select [Window] - [Display view] - [Others].
    [Display view] dialog box is displayed.
  2. Select [HCSC-Definer] - [HCSCTE view] and click the [OK] button.
    Service definition list is displayed in tree view.
  3. Right click on the business process in tree view and select "Add user-defined reception".
    Reception-type section wizard is displayed.
  4. Select "HTTP reception" from the drop-down list of reception type.
    If you click the [Next] button, a dialog box for entering the information required for adding HTTP reception is displayed.
  5. Specify [Reception name].
    Specify HTTP 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 up definition information of HTTP reception.
    The following table describes the setting items of HTTP reception:

    Table 2-16 Setting items of user-defined reception definition screen of HTTP reception (basic)

    Classification Item Setting contents Setting
    User-defined reception information Reception name Reception name that is set up 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 Specify name of any operation. A
    Operation information Communication model Set "Synchronization". A
    Request message "Use any" checkbox Do not check it. -
    Reception Message format Specify urecp_http_body_request.xsd#. A
    Service component "Use" checkbox Do not check it. -
    Response message [Use any] checkbox Do not check it. -
    Reception Message format
    • In case of setting for ignoring response message (body)
      Specify any message format. It is recommended that you use urecp_http_dummy_body_response.xsd provided by service platform#.
    • In case of setting for not ignoring response message (body)
      Specify urecp_http_body_response.xsd created in "2.5.2(3)(b) Creating response message format (for body variable)".
    A
    Service component "Use" checkbox Do not check it. -

    Legend:
    A: Set up this item without fail.
    -: Not applicable.

    Note#
    The directory in which the file is to be stored is "Installation directory of service platform\CSC\custom-reception\http\schema".
    For details on the setting items apart from those mentioned in user-defined reception definition screen, see 1.2.6 User-defined reception definition screen in the manual Service Platform Reference Guide.

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

    Table 2-17 Setting items of user-defined reception definition screen of HTTP reception (details)

    Classification Item Setting contents Setting
    User-defined reception control information Self-defined file Confirm that the following self-defined files are set:
    • cscurecphttp.properties#1
    • cscurecphttp_header.properties#2
    A
    EAR file Confirm that the following EAR file is set:
    • cscmsg_urecp_http.ear#3
    N

    Legend:
    A: Set up this item without fail.
    N: Confirm the displayed contents.

    Note#1
    cscurecphttp.properties, which is set up is a template file. Select cscurecphttp.properties, if necessary, click the [Edit] button, and modify the contents of self-defined file. For details on cscurecphttp.properties, see HTTP reception definition file in the manual Service Platform Reference Guide.

    Note#2
    cscurecphttp_header.properties, which is set up is a template file. Select cscurecphttp_header.properties, if necessary, click the [Edit] button, and modify the contents of self-defined file. For details on cscurecphttp_header.properties, see HTTP response header definition file in the manual Service Platform Reference Guide.

    Note#3
    The directory in which the file is to be stored is "Installation directory of service platform\CSC\custom-reception\http\lib".