Handle JSON/XML complex/mixed array responses - Mendix Forum

Handle JSON/XML complex/mixed array responses

0

When integrating with external parties, you do run into responses that are defined as “mixed array” responses (whether it’s XML or JSON, doesn’t matter).

As of today, Mendix clearly states that this is not supported. The standard “solution” for now is that only the first object of the response is being used. There are no clear workarounds suggested and writing custom Java for every mixed array response can’t possibly be a constructive solution.

In my oppinion, it should at least be possible to create different JSON-structures/XML-structures and then combine them in one big import-mapping. That way, you can still work dynamically and tailor-made for your integrations.

Do correct me when I’m wrong :)

Thanks!

asked
0 answers