Skip to Content
0
Jun 24, 2015 at 06:05 AM

REST Adapter: json array to xml in receiver adapter

918 Views

Hi all,

I wonder if it is possible to convert following json response into xml within standard REST receiver adapter?

{

"query": {

"resultCode": 0,

"columns": ["id", "customer_no", "language"],

"table": [

["331106", "3001158", "DE"],

["322205", "11407729", "DE"],

["313331", "346559", "DE"]

]

}

}

For example in something like this:

<table>

<column>

<id></id>

<customer_no></customer_no>

<language></language>

</column>

<column>

<id></id>

<customer_no></customer_no>

<language></language>

</column>

</table>

I configured my rest adapter as following:

How must the message type look like so that I could use the response for a proper mapping?

Thanks for any idea.

Stefan

Attachments

rest.png (14.3 kB)