on 07-05-2014 6:59 PM
Hello Experts,
I am running a scenario wherein on passing a particular parameter as input the web service returns multiple entries in array of a complex type.
Something like below
For that i Created a complex type of News with simple properties like Title, FileURL,Description, Date, String and then one more complex type of GetNewsResult and added a complex property within it of the type News. Then created an Entity Model with a complex type GetNewsResult.
I then mapped them as below. (I think this is where i am doing something wrong)
When i run it in the URL i get a mapping error.
Can anyone please advice on this.
Thanks,
Hi Rakshit,
You have to define GetNewsResult as an entity type and News as its complex type. If you need to pass input, create a property inside GetNewsResult. While mapping the response you can disable with the input field created (right click > disable).
Regards, Midhun
SAP Customer Experience Group - CEG
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 | |
9 | |
7 | |
6 | |
5 | |
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.