on 07-30-2008 12:31 PM
Hi everyone,
I've having a little problem when I try to show a webservice response into a table.
My webservice structure is:
Context
--> Request_PurchaseOrderByIDQueryResponse_In (0..n)
--> Response (0..1)
--> PurchaseOrderByIDResponse_Sync (0..1)
--> PurchaseOrder (0..1)
--> Item (1..n)
--> Description (1..1)
--> SimpleContent
I want to fill a table with all descriptions of the items.
Response example:
Item
Description
Desc1
Item
Description
Desc2
Item
Description
Desc3
Expected result:
Description (Tittle)
Desc1
Desc2
Desc3
Could anyone help me please?
Thanks in advance,
Jose
Hello,
you have to execute your webService the best way is to import the webService as model. After that you can create a model node in context and add the webService model to it.
On the modelNode you have a method which returns you the modelObject on this model object there is an execute() method. This method you will have to call to execute the webService.
To show up the webService results just bind the modelNode to your table as datasource. After that you can create a binding. Just switch on the view to the layout tab and now go to the outline on the right side of your window, right click on the table you have bound the modelNode to and choose create Binding.
Now you can select every attribute out of the modelNode you wish to display inside your table!
kind regards
Fabian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.