REST Sender adapter JSON Array for Request message

Apr 12, 2017 at 11:14 AM


avatar image

Dear All,

Does REST sender adapter can convert below JSON format where the "Driver" is an array.

JSON message as input to adapter:

"Driver": [{
"id": "A1",
"FirstName": "John",
"LastName": "Luis"
}, {
"id": "A2",
"FirstName": "Stefan",
"LastName": "Burd"

Expected XML message after conversion:

<?xml version="1.0" encoding="UTF-8"?>


I'm using "Add Wrapper Element" to add message type name (MT_Driver_C_Req) in the result XML. But I couldn't fixn any option to get the Driver array from Json in adpater. There is an option to have conversion rule but it seems that applies to response side of it.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
avatar image
Former Member Apr 13, 2017 at 08:07 AM

Hi Abdulgaffar

Have a look in below blog.




Show 1 Share
10 |10000 characters needed characters left characters exceeded

Hi Roshan,

Thank you for the reply. I already referred this blog but I couldn't make out the conversion trick for above scenario.

Skip to Content