on 06-08-2015 3:57 PM
Hello folks
I am currently working on a REST to RFC (synchronous) scenario, and have used SAP's REST adapter in the sender communication channel.
There is an array in my response dataType named "user". As flagged in the image below:
But when I receive just one element in the array, my JSON response does not contains the "[". As seen below:
Since my client web application, which will receive this response, is already ready, I have to follow its standards and add the "[" in all cases of responses.
Please can someone help me out in resolving this issue?
Best Regards,
Caio Dounis
Hi Caio,
Were you able to resolve this issue.
I am also in same situation
Thanks in advance
Ravijeet
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Caio.
Please check Eng Swee Yeoh answer in this thread
I think Rest adapter can't work with arrays at root level, you can try with the module adapter developed by Eng.
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.