uCosminexus Service Platform, Overview

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

2.13.3 Example of HTTP reception configuration

In HTTP reception, you can execute various system configurations according to the following data format to be sent and received:

Examples of configuring HTTP reception and a business process are as follows:

Organization of this subsection
(1) Sending and receiving text data or binary data
(2) Sending and receiving file data

(1) Sending and receiving text data or binary data

(a) Example of business process and single HTTP reception configuration

The following figure shows an example of single HTTP reception and business process configuration:

Figure 2-76 Correlating single HTTP reception to a business process

[Figure]

(b) Example of business process and multiple HTTP reception configuration

If multiple request information items are to be managed in the business process, you can correlate multiple HTTP receptions to a business process.

The following figure shows an example of multiple HTTP receptions and business process configuration:

Figure 2-77 Correlating multiple HTTP receptions to a business process

[Figure]

In this configuration, HTTP reception operation correlated to a business process is invoked according to the context root and operation name specified in URL of HTTP request.

If you select this configuration, you must define it as a persistent business process.

(2) Sending and receiving file data

(a) Example of business process and single HTTP reception (single operation) configuration

The following figure shows an example of configuration of single HTTP reception containing a single operation and a business process:

Figure 2-78 Correlating single HTTP reception (single operation) to a business process

[Figure]

If HTTP reception receives HTTP request from HTTP client, create a working folder for processing file data in HCSC server as an intermediate file. The working folder is automatically deleted after HTTP response process is completed. If an error occurs while processing a business process or HTTP reception, the file is not deleted.

(b) Example of business process and single HTTP reception (multiple operations) configuration

The following figure shows an example of configuration of a single HTTP reception containing multiple operations and a business process:

Figure 2-79 Correlating single HTTP reception (multiple operations) to a business process

[Figure]

In this configuration example, the created working folder is different for each operation (HTTP request). If the file generated in the working folder by the 1st operation is to be referenced in the 2nd operation process, you must use the file operations adapter and copy the files between the working folder and common folder.

For file operations adapter, see "8.7 File operations adapter functionality". For common folders, see "8.8.2 File access using the common folder".

(c) Example of business process and multiple HTTP reception configuration

The following figure shows an example of multiple HTTP receptions and business process configuration:

Figure 2-80 Correlating multiple HTTP receptions to a business process

[Figure]

In this configuration example, same as in case of single HTTP reception configuration containing multiple operations, the created working folder is different for each operation (HTTP request). Due to this, if identical files are to be shared in each HTTP request, you must use the file operations adapter and copy the files between the working folder and common folder.