3.2 Structure of X-Road message

Data transmitted on X-Road are divided into components of header, request, and response. Dataservice request message includes the components of header and request. Dataservice response message includes the components of header and response. The content of the header component of a response message is identical with the content of the header component of the request message. A response message may also include a request component (in this case, the content of the request component of the response message is identical with the content of the request component of the request message). The division of an X-Road message into components is shown on Figure 13. Obligatory components of X-Road are shown with a steady line and a non-obligatory request component of a response message is shown with a dashed line. Identical components are shown with a two-way arrow.

Figure13 Division of X-Road message into components

Elements essential for the functioning of X-Road are provided in the header of SOAP message and the body data in the body of the SOAP message. The header of a SOAP message is obligatory in X-Road.

All messages occurring on X-Road are transmitted with UTF-8 encoding. BOM (Byte Order Mark) bytes may be used at the beginning of an XML message, which the security servers may remove during processing of the message.

Viimati muudetud: teisipäev, 16. mai 2017, 12:08