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>

Reply via email to