axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Samisa Abeysinghe <samisa.abeysin...@gmail.com>
Subject Re: How to set the Axis2c Client timeout value
Date Wed, 31 Mar 2010 23:06:43 GMT
axis2_options_set_timeout_in_milli_seconds

See: http://wso2.org/forum/thread/5356

* <http://wso2.org/forum/thread/5356>Samisa...
*
On Thu, Apr 1, 2010 at 3:50 AM, Fan, Jan-fon <jan-fon.fan@intel.com> wrote:

>  Hi,
>
> Is there a way to set the client timeout value?
>
> The web service that I invoke will take very long time to process, by the
> time the server returns, my client program already timeout.
>
> I tried to modify the file include/axis2_options.h
>
> Change from
>
> #define AXIS2_DEFAULT_TIMEOUT_MILLISECONDS 30000
>
> to
>
> #define AXIS2_DEFAULT_TIMEOUT_MILLISECONDS 180000
>
>
>
> And hope this will increase the time out from 30 seconds to 180 seconds,
> but it is not helpful.
>
>
>
>
>
> I also tried to modify the axis2.xml by adding a parameter:
>
> <parameter name="CONNECTION_TIMEOUT" locked="false">180000</parameter>
>
> But this also does not help.
>
>
>
>
>
> Thanks,
>
> Jan-fon
>
>
>
-- 
Samisa Abeysinghe
Director, Engineering - WSO2 Inc.

http://wso2.com/ - "lean . enterprise . middleware"

Mime
View raw message