You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Ashish Arya <As...@sos.sungard.com> on 2007/09/05 12:49:15 UTC
Problem with request time out
Hi All,
I am facing problem related with 'AxisFault: Read Time out' in my web
service application.
In the application, I am doing some calculation on server side which may
take longer time. To accomplish this, I made following changes in
axis2.xml conf file.
<parameter name="requestTimeout">99999999999999999999</parameter>
But still noticed that the client is getting timed out exception.
Do I need to make any other change to avoid request time out?
Thanks and Regards,
Ashish
RE: Problem with request time out
Posted by Ashish Arya <As...@sos.sungard.com>.
Hi Roshan,
You suggestion has worked!
Thanks a lot for your help!
Regards,
Ashish Arya,
________________________________
From: Punnoose, Roshan [mailto:punnooser@bah-systems.com]
Sent: Wednesday, September 05, 2007 5:15 PM
To: axis-user@ws.apache.org
Subject: RE: Problem with request time out
Thought I would contribute again to the mailing list :-).
Basically, the client itself has a timeout in the ServiceClient that you
need to set as well. In the Options of the ServiceClient, set this
property:
options.setTimeOutInMilliSeconds(60000);
(Or whichever value is applicable to you)
Roshan Punnoose
Phone: 301-497-6039
________________________________
From: Ashish Arya [mailto:Ashish.Arya@sos.sungard.com]
Sent: Wednesday, September 05, 2007 6:49 AM
To: axis-user@ws.apache.org
Subject: Problem with request time out
Hi All,
I am facing problem related with 'AxisFault: Read Time out' in my web
service application.
In the application, I am doing some calculation on server side which may
take longer time. To accomplish this, I made following changes in
axis2.xml conf file.
<parameter name="requestTimeout">99999999999999999999</parameter>
But still noticed that the client is getting timed out exception.
Do I need to make any other change to avoid request time out?
Thanks and Regards,
Ashish
RE: Problem with request time out
Posted by "Punnoose, Roshan" <pu...@bah-systems.com>.
Thought I would contribute again to the mailing list :-).
Basically, the client itself has a timeout in the ServiceClient that you
need to set as well. In the Options of the ServiceClient, set this
property:
options.setTimeOutInMilliSeconds(60000);
(Or whichever value is applicable to you)
Roshan Punnoose
Phone: 301-497-6039
________________________________
From: Ashish Arya [mailto:Ashish.Arya@sos.sungard.com]
Sent: Wednesday, September 05, 2007 6:49 AM
To: axis-user@ws.apache.org
Subject: Problem with request time out
Hi All,
I am facing problem related with 'AxisFault: Read Time out' in my web
service application.
In the application, I am doing some calculation on server side which may
take longer time. To accomplish this, I made following changes in
axis2.xml conf file.
<parameter name="requestTimeout">99999999999999999999</parameter>
But still noticed that the client is getting timed out exception.
Do I need to make any other change to avoid request time out?
Thanks and Regards,
Ashish