Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
See more: 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
(no name)28.6K
db7uk at 30-Sep-12 16:25pm
have you tried
db7uk at 30-Sep-12 16:26pm
setting the httpRuntime executionTimeout="1200" in the web.config
Prantick at 1-Oct-12 0:11am
thanks db7uk for your reply. can you please tell me web.config of which application?
Prantick at 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)

Advertise | Privacy | Mobile
Web03 | 2.8.150327.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