uCosminexus Service Platform, Basic Development Guide
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))
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.
The following figure shows an XML response message acquired by the service requester
Figure 8-8 XML 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.
Figure 8-9 Format of NULL received
Figure 8-10 Format for a byte[]-type response
All Rights Reserved. Copyright (C) 2015, Hitachi, Ltd.