This is how I send the data :
This is how I receive the data :
picture 2 :
This is how I would like to receive the data, inside an array with the [ ]
When I have more than one row to send, the webservice send the data using an array with the [ ] . But when I have only one row to send the webservice is sending them without using an array just like picture 2. I want to have the data inside [ ] even if I have only one element to send.
It seems to be an issue from 2013, I found this topic : https://www.talendforge.org/forum/viewtopic.php?id=31107
This is exactly what happens to me :
Here is the related jira issue mentioned in this referenced topic.
Could you please take a look at tRESTResponse and tRESTClient components which can use XML to JSON auto-conversion feature?