Changes for page Validation

Last modified by Danniar Firdausy on 2024/09/19 08:56

From version 27.4
edited by Danniar Firdausy
on 2024/09/12 12:39
Change comment: There is no comment for this version
To version 25.1
edited by Erik Bakker
on 2022/09/01 08:29
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.dfirdausy
1 +XWiki.ebakker
Content
... ... @@ -37,8 +37,14 @@
37 37  
38 38  if (exists(//err:xml-validation-exception)) then 'validation' else if (exists(//err:exception[@class='org.springframework.integration.MessageTimeoutException'])) then 'timeout' else ''
39 39  
40 -== 4. Key takeaways ==
40 +== 4. Assignment ==
41 41  
42 +Navigate to a flow within your (Academy) project in which you host a REST Webservice.
43 +Ensure that when a validation error is thrown, eMagiz will return a proper response to the client.
44 +This assignment can be completed with the help of the (Academy) project that you have created/used in the previous assignment.
45 +
46 +== 5. Key takeaways ==
47 +
42 42  * The external application pushes data to a REST web service (or API) hosted by eMagiz
43 43  * When doing so, the external application should adhere to the defined data structure
44 44  * If not, we need to refuse the call and respond with an error message
... ... @@ -45,16 +45,12 @@
45 45  * eMagiz auto generates a lot when using the API Gateway
46 46  * You need to recreate this when using the same functionality in a messaging flow
47 47  
48 -== 5. Suggested Additional Readings ==
54 +== 6. Suggested Additional Readings ==
49 49  
50 -If you are interested in this topic and want more information on it please read the help text provided by eMagiz when executing these actions and read the following links:
56 +If you are interested in this topic and want more information, please read the help text provided by eMagiz.
51 51  
52 -* [[Crash Courses (Menu)>>doc:Main.eMagiz Academy.Microlearnings.Crash Course.WebHome||target="blank"]]
53 -** [[Crash Course Messaging (Navigation)>>doc:Main.eMagiz Academy.Microlearnings.Crash Course.Crash Course Messaging.WebHome||target="blank"]]
54 -*** [[Filter (Explanation)>>doc:Main.eMagiz Academy.Microlearnings.Crash Course.Crash Course Messaging.crashcourse-messaging-filter||target="blank"]]
55 -* [[Intermediate Level (Menu)>>doc:Main.eMagiz Academy.Microlearnings.Intermediate Level.WebHome||target="blank"]]
56 -** [[REST Connectivity (Navigation)>>doc:Main.eMagiz Academy.Microlearnings.Intermediate Level.REST Connectivity.WebHome||target="blank"]]
57 -*** [[Configuration REST web service (Explanation)>>doc:Main.eMagiz Academy.Microlearnings.Intermediate Level.REST Connectivity.intermediate-rest-webservice-connectivity-configuration-gen3||target="blank"]]
58 -* [[Host REST web service (Search Results)>>url:https://docs.emagiz.com/bin/view/Main/Search?sort=score&sortOrder=desc&highlight=true&facet=true&r=1&f_space_facet=0%2FMain.&l_space_facet=10&f_type=DOCUMENT&f_locale=en&f_locale=&f_locale=en&text=%22host+REST+web+service%22||target="blank"]]
58 +== 7. Silent demonstration video ==
59 59  
60 +Please check out the store for a working example for a messaging solution.
61 +
60 60  )))((({{toc/}}))){{/container}}{{/container}}