uCosminexus Service Platform, Reception and Adapter Definition Guide

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

2.5.1 Flow of defining HTTP reception

The following figure shows the flow of defining HTTP reception:

Figure 2-5 Flow of defining HTTP reception

[Figure]

Activities to be performed when defining HTTP reception are described here.

Organization of this subsection
(1) Defining a business process
(2) Creating message format of HTTP reception
(3) Creating definition file of HTTP reception
(4) Adding HTTP reception
(5) Saving HTTP reception
(6) Setting an activity
(7) Defining data transformation (mapping)
(8) Deleting HTTP reception

(1) Defining a business process

Add a business process using the wizard and a defined business process. Define the added business in the business process definition screen. For details on the definition of a business process, see 5. Defining a Business Process in the manual Service Platform Basic Development Guide.

Also, you must define a service adapter to invoke a service component from a business process. For details on defining a service adapter, see 3. Defining Adapters.

(2) Creating message format of HTTP reception

Create the request message format and the response message format to be used in the HTTP reception.

For details on how to create a message format, see 2.5.2 Creating message format of HTTP reception.

(3) Creating definition file of HTTP reception

Create the definition file to be used in the HTTP reception. The created definition file is reflected in the repository.

For details on how to create the definition file to be used in HTTP reception, see 2.5.3 Creating definition file of HTTP reception.

(4) Adding HTTP reception

Add HTTP reception in the service definition list in tree view and define its contents.

For details on how to add and define the HTTP reception, see 2.5.4 Adding HTTP reception.

(5) Saving HTTP reception

Save HTTP reception that is added and defined. For details on how to save HTTP reception, see 2.9 Saving a user-defined reception.

(6) Setting an activity

Set the body variables and header variables belonging to request message format/response message format of HTTP reception in the activity of a business process.

For details on how to set an activity, see 2.5.5 Setting up an activity.

(7) Defining data transformation (mapping)

If data transformation is required while receiving and sending a message, define data transformation. For details on how to define data transformation, see 6. Defining Data Transformation in the manual Service Platform Basic Development Guide.

For details on the example of mapping in case of using HTTP reception, see Appendix F Example for setting up business processes using HTTP reception.

(8) Deleting HTTP reception

You can delete the unwanted HTTP reception, if necessary.

For details on deleting HTTP reception, see 2.12 Deleting a User-Defined Reception.