Skip to Content
avatar image
Former Member

Doubt in displaying data in a table from two webservices.

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • avatar image
    Former Member
    Jul 27, 2006 at 10:02 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      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

  • avatar image
    Former Member
    Jul 27, 2006 at 10:05 AM

    Hi

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

    Kind Regards

    Mukesh.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      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

  • avatar image
    Former Member
    Jul 27, 2006 at 10:06 AM

    Hai Dipendra,

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

    regards,

    Naga Raju

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 27, 2006 at 10:35 AM

    hai,

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

    wdContext.currentrequestXXX.modelObject.execute();

    wdContext.nodeResponse.invalidate();

    regards,

    Add comment
    10|10000 characters needed characters exceeded