You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Sri Rama Kanth N <n....@gmail.com> on 2008/02/19 20:43:09 UTC
Setting Connection timeout (not Socket Read timeouts !!) with Axis 1.4?
How to set/specify http Connection timeout property/value to fail fast
rather than waiting for long times?
(SoapStub))._setProperty("axis.connection.timeout", new
Integer(connTimeout));
(SoapStub).setTimeout(timeoutvalue)
The above two ways (setting on the axis stubs) will set a time out on the
Socket.
I want set it only on initial Connection establishment rather than read
timeouts. How can this be made with Axis 1.4 stubs....?