Click here to Skip to main content
11,928,569 members (51,421 online)
Rate this:
Please Sign up or sign in to vote.
See more: Mobile Ajax Blackberry jQuery ASMX , +
Hi Everybody,

I am working on a mobile native application in Blackberry WebWorks. My application runs on Tomcat 5.5 which fetches data from an ASMX webservice running on IIS 7.5.

I am getting a timeout after a period of 2 mins during data-fetching operation. I can not over come this problem please help me to overcome.

I am setting the ajax timeout and in the config file I have also mentioned the timeout, still I am getting the timeout.

After a long research I found out that the problem lies with the ASMX service call. In a particular ASMX service method, the method is taking on an average of 4 mins to respond with the result due to involvement of a huge calculation. As the HTTP response is not coming back for a long time the calling application is getting timeout, my ASMX webservice is working properly.

I tried everything with server.xml file of Tomcat 5.5, included all the properties possible to overcome this but with no result.

Please help me in this regard.
Posted 30-Sep-12 9:34am
Edited 30-Sep-12 9:39am
db7uk 30-Sep-12 16:25pm
have you tried
db7uk 30-Sep-12 16:26pm
setting the httpRuntime executionTimeout="1200" in the web.config
Prantick 1-Oct-12 0:11am
thanks db7uk for your reply. can you please tell me web.config of which application?
Prantick 1-Oct-12 0:23am
Huge calculation is doing some insurance premium calculation depending upon some risks but it is working fine as it is working efficiently while the app is being run on web-browser. in this app also when i see the response of the app in debug mode in netbeans7 i am getting response but the phone app is getting disconnected from the tomcat server after 1 min every time, before the ASMX service could provide it the result

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web03 | 2.8.151126.1 | Last Updated 30 Sep 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100