on 07-19-2011 5:55 AM
Hi All,
I am stuck into development issue.
I have used adaptive webservice model in my application and now the output of webservice is of type arraylist.
When user will enter some values as input the values should be displayed in a table.
Now could you please help me how to retrieve the result from arraylist of webservice to the table in wd java..
Thanks,
Anupama
Hi Anupama,
Create the custom node and attributes with cardinality 0 to n (refer to [Node and Node element |http://help.sap.com/saphelp_nw70/helpdata/en/92/1d3d41d4cc4c0de10000000a1550b0/content.htm]) and then popoulate node element with Array list values.
Refer to Array List iteration : [Click here|http://social.msdn.microsoft.com/Forums/en-US/csharplanguage/thread/fbb99f25-e15e-40f4-8251-e21ac44424a3/]
Populating the Custom context node : [Click here|;
Best Regards
Arun Jaiswal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Anupama,
Check the code snippet from [this link|http://www.sapgeek.net/2011/01/web-dynpro-java-how-to-consume-web-service/] to consume webservices in webdynpro java application and bind the node to table UI element.
Hope this help!
Regards,
Thirumurugan.A
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Anupama,
Check the code snippet from [this link|http://www.sapgeek.net/2011/01/web-dynpro-java-how-to-consume-web-service/] to consume webservices in webdynpro java application and bind the node to table UI element.
Hope this help!
Thanks & Regards,
Thirumurugan.A
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Anupama,
Could you please eloborate your requirement further...but according to my understanding you can create a value node with all the attributes required and bind it to a table.
You can read the arraylist from webservice, iterate the arraylist object and bind the values to the value node.
You can go through this link http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/5f699f90-0201-0010-14a4-8950177281ed
Hope this helps you...
Regards,
Saleem Mohammad.
Edited by: Jason Lax on Dec 28, 2011 2:37 PM (Fixed broken link)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.