axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amardeep singh khera <amardeepsinghkh...@gmail.com>
Subject Re: axis web service client socket timeout
Date Wed, 24 Jun 2009 05:47:45 GMT
Hi ,

You can specify socket time out using following lines of code in your
client..

            ServiceClient client = stub._getServiceClient();
            Options opt = client.getOptions();
            opt.setTimeOutInMilliSeconds(600000);
            client.setOptions(opt);

Thanks
Amardeep SIngh Khera

On Wed, Jun 24, 2009 at 3:20 AM, Frederick G. Burkley <burkley@gmail.com>wrote:

> Look at the Option (or it might be Options) class.  It has a method
> something like setTimeout().
>
>
>
> On Tue, Jun 23, 2009 at 2:40 PM, Ashish Kulkarni <
> ashish.kulkarni13@gmail.com> wrote:
>
>> HiHow to specify socket timeout when calling web service using apache
>> axis client, i believe default time is 10 minutes.
>> Is it possible to set this time with some run time parameter, or do we
>> need some programming change to do so
>>
>> Ashish
>>
>
>

Mime
View raw message