Changes for page Validation

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

From version 26.1
edited by Eva Torken
on 2023/09/20 13:12
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.etorken
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,8 +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 50  If you are interested in this topic and want more information, please read the help text provided by eMagiz.
51 51  
58 +== 7. Silent demonstration video ==
59 +
60 +Please check out the store for a working example for a messaging solution.
61 +
52 52  )))((({{toc/}}))){{/container}}{{/container}}