Wiki source code of Input Message Definition
Last modified by etorken on 2024/03/19 14:26
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | {{container}}{{container layoutStyle="columns"}}((( | ||
| 2 | On this page you will find the information needed to complete the exercise. | ||
| 3 | |||
| 4 | Should you have any questions, please contact [[academy@emagiz.com>>mailto:academy@emagiz.com]]. | ||
| 5 | |||
| 6 | === 1. XSD === | ||
| 7 | |||
| 8 | Below, the information for the input message definition, needed for the exercise, is provided. | ||
| 9 | |||
| 10 | {{code language="xml"}}<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> | ||
| 11 | <xs:complexType name="transport_order"> | ||
| 12 | <xs:sequence> | ||
| 13 | <xs:element name="transport_order_id" type="nonEmptyString"/> | ||
| 14 | <xs:element name="transport_order_description" type="nonEmptyString"/> | ||
| 15 | <xs:element name="transport_order_sender_id" type="nonEmptyString"/> | ||
| 16 | <xs:element name="transport_order_sender_name" type="nonEmptyString"/> | ||
| 17 | <xs:element name="transport_order_sender_address" type="nonEmptyString"/> | ||
| 18 | <xs:element name="transport_order_receiver_id" type="nonEmptyString"/> | ||
| 19 | <xs:element name="transport_order_receiver_name" type="nonEmptyString"/> | ||
| 20 | <xs:element name="transport_order_receiver_address" type="nonEmptyString"/> | ||
| 21 | </xs:sequence> | ||
| 22 | </xs:complexType> | ||
| 23 | <xs:simpleType name="nonEmptyString"> | ||
| 24 | <xs:restriction base="xs:string"> | ||
| 25 | <xs:minLength value="1"/> | ||
| 26 | </xs:restriction> | ||
| 27 | </xs:simpleType> | ||
| 28 | <xs:element name="transport_order" type="transport_order"/> | ||
| 29 | </xs:schema>{{/code}} | ||
| 30 | |||
| 31 | )))((({{toc/}}))){{/container}}{{/container}} |