Changes for page Exercises

Last modified by Carlijn Kokkeler on 2022/10/19 13:32

From version 18.1
edited by eMagiz
on 2022/10/19 12:43
Change comment: There is no comment for this version
To version 16.1
edited by Carlijn Kokkeler
on 2022/10/19 12:30
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.eMagiz
1 +XWiki.CarlijnKokkeler
Content
... ... @@ -15,25 +15,21 @@
15 15  By following the steps below, you should gain a better understanding of the differences between CDM, CDM messages, and system messages.
16 16  
17 17  * Creating a CDM
18 - ** Please import the file Order.xsd in your CDM. The code for this file can be found in section 4. Code for xsd files.
18 + Please import the file Order.xsd in your CDM. The code for this file can be found in section 4. Code for xsd files.
19 19  * Creating a CDM message
20 - ** Now, go to your CDM message and select Order as root entity.
21 - ** Add all other entities and attributes from Order.xsd, which were imported into the CDM, to your CDM message definition.
20 + Now, go to your CDM message and select Order as root entity.
21 + Add all other entities and attributes from Order.xsd, which were imported into the CDM, to your CDM message definition.
22 22  * Creating a system message
23 - ** In one of your System messages, import the file TransportOrder.xsd. The code for this file can be found at the bottom of this page.
23 + In one of your System messages, import the file TransportOrder.xsd. The code for this file can be found at the bottom of this page.
24 24  * Creating a CDM message
25 - ** Select CreateOrder as root entity and add all other entities and attributes to your system definition.
25 + Select CreateOrder as root entity and add all other entities and attributes to your system definition.
26 26  * Complete message mapping
27 - ** Now that you have completed these steps, go to Message mapping and complete the mapping. Please add the following to the Design mapping
28 - *** Ensure to properly map the address type
29 - *** Ensure to properly document mappings where required
30 - *** Ensure to use
31 -
27 + Now that you have completed these steps, go to Message mapping and complete the mapping.
32 32  
33 33  The solutions to these exercises can be found [[here>>doc:Main.eMagiz Academy.Use Cases.Data modeling in Design.Exercises.Solutions.WebHome||target="blank"]].
34 34  
35 35  == 4. Code for xsd files ==
36 -=== 4.1 Code for Order.xsd ===
32 +Code for Order.xsd:
37 37  {{code language="xml"}}
38 38  <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
39 39   xmlns="http://www.carlijnsplatform.com/ns/capetms/cdm/1.0/"
... ... @@ -93,7 +93,7 @@
93 93  </xs:schema>
94 94  {{/code}}
95 95  
96 -=== 4.2 Code for TransportOrder.xsd ===
92 +Code for TransportOrder.xsd:
97 97  {{code language="xml"}}
98 98  <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
99 99   xmlns="https://transportinc.nl/ns/tms/1.0/"