uCosminexus Service Platform, Basic Development Guide

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

8.2.6 Creating Request Messages

Create a request message for requesting a service component from the service requester to the synchronous reception (Web Services) of the HCSC server. The contents of the request message to be sent from the service requester must be created in the same message format as that used on the service component side. The following figure shows how a request message is sent.

Figure 8-4 Sending a request message (standard synchronous reception (Web Services))

[Figure]

For details about how to send a normal request message, see the contents related to standard reception in service invocation using a Web Service (SOAP communication), in the manual Cosminexus Service Platform System Setup and Operation Guide.

The request message to be sent from the service requester to the synchronous reception (Web Services) can be either an XML message or a binary message. Which message type is to be used depends on the protocol being used by the service component side. XML request messages and binary request messages are explained below.

Organization of this subsection
(1) XML request message
(2) Binary request message

(1) XML request message

When any one of the following is a service-module-side protocol and requests are to be sent to a business process, the XML request messages can be sent:

The following figure shows an XML request message.

Figure 8-5 XML request message

[Figure]

Note
An XML declaration must be described at the start of the XML document (request message) to be specified. If an XML declaration is not made or if an XML declaration is in a user message inside the XML document, correct operation cannot be guaranteed.
Furthermore, always specify UTF-8 in the character code specification (encoding) of an XML declaration.

(2) Binary request message

Binary request messages can be sent only when the service component side is using the database queue protocol.

Note that if you do not specify a request message, data transformation process will not be performed in the service adapter.

The following figure shows a binary request message.

Figure 8-6 Binary request message

[Figure]