How to handle array list in a generated response and display it in a page

0
Hi , As a result of a REST call, I have a response generated which is of type array list. So when I tried import mapping the reponse, mendix was not able to recognize it. Now I'm trying to unmarshall the XML response into java objects. Now I want to give my response xml file as a input to my java action. How can I do that?  Thanks in advance. 
asked
1 answers
0

Hi Sushmitha,

For your rest service call, are you using an import mapping on your response? or are you trying to pass the json string to the import mapping action? I recommend using the first option.

Heres a link to the documentation on how to do that:

https://docs.mendix.com/howto/integration/consume-a-rest-service

 

 

answered