axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Moley Harey <>
Subject Re: Axis2 timeouts configuration
Date Wed, 16 Sep 2009 09:54:58 GMT
Hi again,
I am getting the following exception: "org.apache.axis2.AxisFault: Read
timed out"

I have generated the Client-side stub classes to connect with my web service
using the wsdl2java Tool, in which class of the Client-side stub should i
set this "options.setTimeOutInMilliSeconds(600000);" code? In the Skeleton

Also, is possible to configure the timeout in the server side using the
axsi2.xml paremeter "ConfigContextTimeoutInterval"?

The default value for Axis2 web services timeout is 60 seconds, isn't it?

thank you,


2009/9/16 Chinmoy Chakraborty <>

> what exception you are getting? can you share your log?
> yes you can configure timeout in the client
> options.setTimeOutInMilliSeconds(600000);
> On Wed, Sep 16, 2009 at 2:12 PM, Moley Harey <> wrote:
>> Hi folks!
>> I have implemented an Axis2 web service to retrieve some publication data
>> stored remotely in a web server.
>> I have done some tests and everything runs well but I have noticed that if
>> I do several consecutive calls to the web service I receive "Timeouts"
>> responses in the client side and I see that Axis exception in my log files.
>> Is there any way to configure the timeout response in my web service? Or
>> that timeout should be configured in the Client-side?
>> thank you,
>> Mh

View raw message