uCosminexus Service Platform, Overview

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

6.2.1 Overview of the data validation functionality

For service adapters, you can verify that a request message and response message are valid for the defined format definition. If you use the data transformation functionality, you can also verify that the message before and after the transformation is valid for the defined format definition.

The data validation functionality verifies that the type of message sent during a request and response is valid for the type of format definition defined in the service adapter. If the message is not valid for the type of format, the data validation functionality returns an error before executing the service.

Because you can validate a message before executing a service in the test environment, you can prevent failures that would occur in the execution of the service.

Note
If the data validation functionality is enabled, the functionality checks whether the message received from a service requester or service matches the message format specified when the service adapter was defined. This check is not performed if the data validation functionality is disabled.
If the HCSC server receives a message that does not match the message format while the data validation functionality is disabled, the operation cannot be guaranteed.

The following figure shows the flow of messages when the request messages and format definition match, and when they do not match.

Figure 6-1 Flow of messages when the request messages and format definition match, and when they do not match

[Figure]