Last modified by Erik Bakker on 2025/02/28 09:50

From version 19.1
edited by eMagiz
on 2022/05/22 21:05
Change comment: There is no comment for this version
To version 20.1
edited by Erik Bakker
on 2022/06/10 08:37
Change comment: Imported from XAR

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.marijn
1 +XWiki.ebakker
Content
... ... @@ -1,16 +1,9 @@
1 -{{html wiki="true"}}
2 -<div class="ez-academy">
3 - <div class="ez-academy_body">
4 -
5 -<div class="doc">
6 -
7 -
8 -
1 +{{container}}{{container layoutStyle="columns"}}(((
9 9  = Calling an asynchronous web service in Mendix =
10 10  
11 11  With the help of the eMagiz Mendix module created by the eMagiz team, you can easily connect between Mendix and eMagiz for data integration. In this microlearning, we will focus on calling an asynchronous web service in Mendix.
12 12  
13 -Should you have any questions, please get in touch with academy@emagiz.com.
6 +Should you have any questions, please get in touch with [[academy@emagiz.com>>mailto:academy@emagiz.com]].
14 14  
15 15  * Last update: October 29th, 2021
16 16  * Required reading time: 6 minutes
... ... @@ -52,11 +52,11 @@
52 52  
53 53  You will see the following overview within the exit flow, which you can configure (if in "Start Editing" mode). Here, you need to define the import mapping (complete name in Mendix including module name) and the execute microflow (complete name in Mendix including module name).
54 54  
55 -<p align="center">[[image:intermediate-mendix-connectivity-calling-an-asynchronous-webservice-in-exit-flow-config.png||]]</p>
48 +[[image:Main.Images.Microlearning.WebHome@intermediate-mendix-connectivity-calling-an-asynchronous-webservice-in-exit-flow-config.png]]
56 56  
57 57  When selecting the import mapping, several additional options need to be chosen within the exit. What each specific option does is detailed in the accompanying help text. Below you will see an example of how you could configure this.
58 58  
59 -<p align="center">[[image:intermediate-mendix-connectivity-calling-an-asynchronous-webservice-in-exit-flow-config-import-mapping-specific.png||]]</p>
52 +[[image:Main.Images.Microlearning.WebHome@intermediate-mendix-connectivity-calling-an-asynchronous-webservice-in-exit-flow-config-import-mapping-specific.png]]
60 60  
61 61  Note that the Range is a critical piece of the configuration as it defines whether the root of the result of the import mapping is a list (All), a single object (First), or a limited list (Custom). Note that the parameter of your import microflow should match this to prevent errors. So, for example, when your parameter upon the import microflow is an Object, you should select the option First. If the parameter on your import microflow is a List, you should select the option All. In cases where you want to reduce the number of entries in the List, you can use the Custom option to reduce the amount to a predefined limit.
62 62  
... ... @@ -68,12 +68,12 @@
68 68  
69 69  You will see the following overview within the exit flow, which you can configure (if in "Start Editing" mode). Here you need to define the execute microflow (complete name in Mendix including module name).
70 70  
71 -<p align="center">[[image:intermediate-mendix-connectivity-calling-an-asynchronous-webservice-in-exit-flow-config-string.png||]]</p>
64 +[[image:Main.Images.Microlearning.WebHome@intermediate-mendix-connectivity-calling-an-asynchronous-webservice-in-exit-flow-config-string.png]]
72 72  
73 73  When satisfied with this setup, please create a new version of the flow and include it in your latest release. That will allow Mendix to retrieve the newest version upon the next restart of Mendix (or by manually downloading the release in Mendix).
74 74  
75 -===== Practice =====
76 76  
69 +
77 77  == 4. Assignment ==
78 78  
79 79  The assignment is simple this time. Configure the exit flow to send data to Mendix correctly. Ideally, work on both options.
... ... @@ -100,9 +100,4 @@
100 100  We have opted not to make a video on this for now.
101 101  The pictures and text provided above should give you enough guidance to configure the connection between Mendix and eMagiz.
102 102  
103 -</div>
104 -
105 -</div>
106 -</div>
107 -
108 -{{/html}}
96 +)))((({{toc/}}))){{/container}}{{/container}}