uCosminexus Service Platform, Basic Development Guide

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

8.2.7 Acquiring Response Messages

Acquire a response message corresponding to the service component execution request from the synchronous reception (Web Services) of the HCSC server. The service requester acquires a response message that has the same message format as the service component side. The following figure shows how a response message is acquired.

Figure 8-7 Response message acquisition (standard synchronous reception (Web Services))

[Figure]

The service requester acquires a response message whose message type is XML. When there is no response message from the service component, either NULL or a byte array of 0 bytes is received. A case in which there is a response message and a case in which there is no response message are explained separately below.

Organization of this subsection
(1) When there is a response message
(2) When there is no response message

(1) When there is a response message

The following figure shows an XML response message acquired by the service requester

Figure 8-8 XML response message

[Figure]

(2) When there is no response message

When there is no response message, the format received by the service requester will differ for a String-type response and byte[]-type response.