cancel
Showing results for 
Search instead for 
Did you mean: 

Doubt in displaying data in a table from two webservices.

Former Member
0 Kudos

Hi All,

I have a table to display data from two webservices.

In the code I am using two for loops.

In one for loop, I am trying to display the data according to one webservice and the other to display the second.

But in the result the data is coming from only one webservice.

I created a dummy project and tried to fetch the data for the webservice for which i am not getting the data.It was working fine.

Can any one help me out with this project.

If u all have any other approach to the issue do tell me.

Looking forward to you.

Regards

DK

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

hai,

Check whether you executed the model object and invalidated the response node.

wdContext.currentrequestXXX.modelObject.execute();

wdContext.nodeResponse.invalidate();

regards,

Former Member
0 Kudos

Hai Dipendra,

Check your two webservices individually. If both are working fine then you will get the data.

regards,

Naga Raju

Former Member
0 Kudos

Hi

Check the output node size of the second Webservice in the current application.

Kind Regards

Mukesh.

Former Member
0 Kudos

Hi,

The output webservice is zero.But when I am doing it seperately using another project it is populating the data ie the node sixe is not zero.

Can u give any other approach to use two different webservices to populate data in a single table.

Looking forward to you.

Regards

DK

Former Member
0 Kudos

Hi

You can execute two webservice at the same time.

try this

1.Check the input Parameters are binded correctly.Give the same value(Sucessful return from the webservice in other Applications) at the first time as the input.

2.Check the execute method

3.check the output list size

Kind Regards

Mukesh

Former Member
0 Kudos

Hi,

Check two webservice using Webservice Navigator inside Dynpro. If it is working fine , then check model node size after executing webservice inside Dynpro. If the size is zero then check before binding to print input parameter on screen.

Kind Regards,

S.Saravanan.

Former Member
0 Kudos

Hi,

I dont get the solution.

Regards

DK

Former Member
0 Kudos

Hi,

IPrivate<ViewName>.I<Name>Node node = wdContext.node<Name>();

int len=wdContext.node<List>().size();

Check the len

if the len is >0 then check the binding with the table node.

kind Regards

Mukesh