cancel
Showing results for 
Search instead for 
Did you mean: 

Flight Application- Connection established but no data retrieved

Former Member
0 Kudos

Hi,

I am trying to develop the example TutWD_FlightList_Init .My SLD has been configured and "check SLD connection" is working fine.The JCO test Connection is also successful.When I deploy and run the application,i am able to see the views without any data.When I enter the Departure City and Arrival city and click on search I get the error:

500 Internal Server Error

The WebDynPro Application "FlightListApp" has expired.Please restart the application either with the refresh button or click the following link FlightListApp.

Kindly help me out.

Thanks and Regards,

Suparna

Accepted Solutions (0)

Answers (7)

Answers (7)

0 Kudos

Hi,

I get the same kind of error for a self-developed application.

In a general way, do you have some clues about it?

Thanks and regards,

Christine

Former Member
0 Kudos

Hi,

I tried restarting my J2EE server but it doesn help.I am running the application on the same system on which my server is installed but it is not working.

I am new to webdynpro and this is my first application where i am trying to retrieve data from R/3.

Thanks and Regards,

Suparna

Former Member
0 Kudos

Hi Suparna,

Are u able to run other web dynpro application on your PC.

If Yes, Post the complete Stsck trace

Rgds,

Vilish

Former Member
0 Kudos

Hi Bhavik/Rahul,

My context structure is same as you have asked.Output node is bound to the table control of the result view.

After the execution of BAPI in the Custom controller,I am invalidating the Output node.Stilll the problem persists.Only the initial views come and when I enter the reqiured fields in the form and click Search,I get Internal Sever error.I am not able to retrive aby data from R/3.

thanks and Regards,

Suparna

Former Member
0 Kudos

Hi,

Restart your J2EE engine.. and try again.

It may solve your problem.

Cheers,

NEx

Former Member
0 Kudos

hi,

"500 Internal Server Error

The WebDynPro Application "FlightListApp" has expired.Please restart the application either with the refresh button or click the following link FlightListApp"

well i don't think that there is some error with your code.

This problem is that browser on your machine is not able to maintain a session with the server.

Try to access the application on the browser on the machine where you have installed the server.

hope it works there.

Also tell me whether other web dynpro application (esp. that uses some Databse) are working on your PC

Rgds,

Vilish

Former Member
0 Kudos

hi

there will be a node named output underneath the top node. invalidate that node.like

wdcontext.nodeoutput.invalidate();

Former Member
0 Kudos

Hi Bhavik,

I tried doing what you have suggested but it is still not working.

I have added

wdThis.wdGetContext().nodeBapi_Flight_Getlist_Input().invalidate();

in Search view in the onActionSearch() function.

Any other idea?

Thanks and Regards,

Suparna Jha

Former Member
0 Kudos

Hi,

Send ur project to my email id .. in my business card.. u r missing something trivial.. unless someone sees the code its tough to guess wats wrong

Yep ! try bhavik s suggestion first and then if it does not work send it

Message was edited by: Bharathwaj R

Former Member
0 Kudos

Hi Supama,

you have to invalidate Output nodes, not the whole root node.

You have one node inside this root node(nodeBapi_Flight_Getlist_Input) named output. try to invalidate this node and all inside this node.

Better give me your context structure.

Regards,

Bhavik

Message was edited by: Bhavik Devisha

Former Member
0 Kudos

Hi,

(Suparna and myself are trying to solve this together)

The context structure for the Search View is as follows:

Context

-Bapi_Flight_Getlist_Input

-


Destination_From

-


Airportid

-


City

-


Country

-


Countr_Iso

-


Destination_To

-


Airportid

-


City

-


Country

-


Countr_Iso

Can u tell us which node has to be invalidated here?

Thanks in advance,

Regards

Reena

Message was edited by: Reena Prabhakar

Message was edited by: Reena Prabhakar

Message was edited by: Reena Prabhakar

Former Member
0 Kudos

Hi Reena/Supama,

Here, You have taken two nodes DestinationFrom and DestinationTo in main root node.

But you have not bound Output node here in which you will get response back.

So, alos bind the node Output and response to your view.

In this node you will get your response.

so, your context structure would be:

Context

-Bapi_Flight_Getlist_Input

-


Destination_From

-


Airportid

-


City

-


Country

-


Countr_Iso

-


Destination_To

-


Airportid

-


City

-


Country

-


Countr_Iso

-


Output

-


Flight_List

-


(all attributes)

And here, after executing your BAPI invalidate Output and Flight_List nodes.

Regards,

Bhavik

Former Member
0 Kudos

Hi

Are you putting your WebDynpro as an iView in the portal. If so then this post could be helpful

If it is a standalone WebDynpro ie without portal then check for session timeout.

regards

ravi

Former Member
0 Kudos

Hi Supama,

There are two things.

1. For getting data on the view, You have to invalidate your ouput nodes after executing the BAPI. the code for invalidating node is:

wdcontext.node<node name>().invalidate();

2. As you said, Application has expired, so refresh the page once again and try the same thing.

Regards,

Bhavik