Changes for page Exercises

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

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

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.CarlijnKokkeler
1 +XWiki.eMagiz
Content
... ... @@ -15,21 +15,25 @@
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.
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 +
28 28  
29 29  The solutions to these exercises can be found [[here>>doc:Main.eMagiz Academy.Use Cases.Data modeling in Design.Exercises.Solutions.WebHome||target="blank"]].
30 30  
31 31  == 4. Code for xsd files ==
32 -Code for Order.xsd:
36 +=== 4.1 Code for Order.xsd ===
33 33  {{code language="xml"}}
34 34  <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
35 35   xmlns="http://www.carlijnsplatform.com/ns/capetms/cdm/1.0/"
... ... @@ -89,7 +89,7 @@
89 89  </xs:schema>
90 90  {{/code}}
91 91  
92 -Code for TransportOrder.xsd:
96 +=== 4.2 Code for TransportOrder.xsd ===
93 93  {{code language="xml"}}
94 94  <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
95 95   xmlns="https://transportinc.nl/ns/tms/1.0/"