Version 2.6 by Bouke Reitsma on 2023/02/28 17:05

Hide last authors
Bouke Reitsma 1.1 1 {{container}}{{container layoutStyle="columns"}}(((
2
Bouke Reitsma 2.6 3 In our crash course on the API Gateway pattern, we have learned about setting up the API Gateway. By default, the messaging format chosen for your gateway is JSON. However, in some instances, XML is more appropriate as default message format. In this microlearning, we focus on changing the default message format and show the impact this has on flows in Create.
Bouke Reitsma 1.1 4
5 Should you have any questions, please contact [[academy@emagiz.com>>mailto:academy@emagiz.com]].
6
7 == 1. Prerequisites ==
8
9 * Basic knowledge of the eMagiz platform
10
11 == 2. Key concepts ==
12
Bouke Reitsma 2.3 13 There are no specific concepts to consider for now that require additional explanation.
Bouke Reitsma 1.1 14
Bouke Reitsma 2.3 15 == 3. Changing the default messaging format ==
Bouke Reitsma 1.1 16
Bouke Reitsma 2.6 17 In our crash course on the API Gateway pattern, we have learned about setting up the API Gateway. By default, the messaging format selected for your gateway is JSON. However, you can change the default messaging format to XML in your project. This change can be made in Design -> Settings -> API Management. On the right side of this overview are the gateway settings. The last entry of this overview is the Default Format. By clicking on the Edit settings button, you enter the following overview
Bouke Reitsma 2.4 18
19 AFBEELDING 1 TOEVOEGEN
Bouke Reitsma 1.1 20
Bouke Reitsma 2.6 21 The last option allows you to switch between JSON or XML as your default messaging format in the gateway. In order to apply your new default to your project, you must press "Apply settings" in Design -> Architecture to confirm your change.
Bouke Reitsma 2.4 22
Bouke Reitsma 2.3 23 {{info}}~* Note Changing the default messaging format does not affect existing operations in create. Migrating these flows require a reset of the exit flow.{{/info}}
Bouke Reitsma 1.1 24
Bouke Reitsma 2.3 25 == 4. Impact in Create ==
Bouke Reitsma 1.1 26
Bouke Reitsma 2.6 27 The automatic flow creation in the Create phase is updated to incroperate these changes. When changing .....
Bouke Reitsma 1.1 28
29 == 4. Assignment ==
30
Bouke Reitsma 2.6 31 Change the default messaging format to XML.
Bouke Reitsma 1.1 32 This assignment can be completed with the help of the (Academy) project that you have created/used in the previous assignment.
33
34 == 5. Key takeaways ==
35
Bouke Reitsma 2.6 36 * The default messaging format can be changed to XML
37 * Updating this only affects new flows
38 * Migrating existing operations can be done by reseting the exit flow
Bouke Reitsma 1.1 39
40 == 6. Suggested Additional Readings ==
41
42 If you are interested in this topic and want more information on it please read the help text provided by eMagiz.
43
44 == 7. Silent demonstration video ==
45
Bouke Reitsma 2.6 46 To be recorded.
Bouke Reitsma 1.1 47
48 )))((({{toc/}}))){{/container}}{{/container}}