Hitachi

uCosminexus Service Platform Reference Guide


3.11.2 HTTP-reception service-selection definition file

Organization of this subsection

(1) Format

HTTP-method-name[,host-name]=business-process-name

(2) Function

For HTTP reception of a user-defined reception (invocation target selected), this file specifies the business process to be invoked from HTTP reception and the conditions for invoking the business process. This file is specified as a self-defined file when HTTP reception of a user-defined reception (invocation target selected) is defined in the User-Defined Reception Definition window in the development environment.

For details about how to define HTTP reception of a user-defined reception (invocation target selected), see the manual Service Platform Reception and Adapter Definition Guide. For details about the items displayed in the User-Defined Reception Definition window, see 1.2.5(2) TP1/RPC, FTP, HTTP, Message Queue, file event, and custom reception types.

(3) File storage location

service-platform-installation-directory\CSC\custom-reception\http\config\templates\cscurecphttp_selection.properties
Important note

The file stored here is a template file. To edit the HTTP-reception service-selection definition file, click the Edit button for Self-defined file in the User-Defined Reception Definition window (detailed) when adding HTTP reception as a user-defined reception (invocation target selected), and then modify the definition file contents.

(4) Specifiable properties

HTTP-method-name[,host-name]

Specify the HTTP method or the HTTP method and host as a condition of the business process to be invoked from HTTP reception.

Host name specifications are case-sensitive.

business-process-name

Specify the name of the business process to be invoked from HTTP reception.

(5) Example of coding

Examples of coding are as follows.

This example shows how to specify HTTP methods and hosts as the keys.
PUT,GyoumuKanri.jpo.go.jp=BP1
DELETE,GyoumuKanri.jpo.go.jp=BP2
GET,GyoumuKanri.jpo.go.jp=BP3
This example shows how to specify HTTP methods as the keys.
PUT=BP1
DELETE=BP2
GET=BP3

(6) Notes