HiThanks, do you have example of getting MessageContext and setting this
message context to stub, all i have in my program is

ExecutePortTypeBindingStub stub = new ExecutePortTypeBindingStub(new
URL(endPoint), null);
stub.callMethod(parameter)



On Wed, Sep 30, 2009 at 1:34 PM, Bauer Horscht <bauer.hors...@gmx.de> wrote:

> In a custom handler, you can directly set it on the MessageContext object
> (mc):
>
> mc.setTimeout(120*1000);   //120 seconds
>
>
>
> Ashish Kulkarni schrieb:
>
>> Hi
>> How do we set connection timeout in axis 1.4 web service client, i think
>> default is 10 minutes, I want to timeout if web service does not respond in
>> 2 minutes, how can i do so
>>
>> --
>> Ashish
>> www.ayurwellness.com <http://www.ayurwellness.com>
>> www.mysoftwareneeds.com <http://www.mysoftwareneeds.com>
>>
>


-- 
Ashish
www.ayurwellness.com
www.mysoftwareneeds.com

Reply via email to