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 <[email protected]>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 <
> [email protected]> 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
>>
>
>

Reply via email to