uCosminexus Application Server, Web Service Development Guide

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

37.1.2 Asynchronous communication

Organization of this subsection
(1) Flow of asynchronous communication
(2) Settings for asynchronous communication
(3) Precautions for asynchronous communication

(1) Flow of asynchronous communication

In the asynchronous communication using the addressing functionality, the Web Service client sends a request message for invoking a service method that exists in a Web Service, and then ends the processing without receiving the resulting response message from the Web Service. The Web Service sends the response message to another Web Service.

The following figure shows the flow of asynchronous communication:

Figure 37-2 Flow of asynchronous communication

[Figure]

(2) Settings for asynchronous communication

To use the asynchronous communication, set up the Web Service URL that sends response messages in the wsa:ReplyTo/wsa:Address and wsa:FaultTo/wsa:Address elements of the addressing header.

The following are the examples of the contents specified in the addressing header with the conditions:

(3) Precautions for asynchronous communication

This subsection describes the precautions for using the asynchronous communication.