setTimeout

2004-10-20 Thread Ching, Vivian M, ALABS
Hi-   I am trying the set the timeout value for soap request, using the code below.  The send/receive is still waiting 40 seconds before I get the java.net.ConnectException: Connection timed out. Is this timeout for the recieve only and I am blocked on the send?  If so, how do I set the c

Re: setTimeout

2004-10-20 Thread Scott Nichol
If you are using SOAP 2.3.1, the timeout only applies to read/write. That is because SOAP 2.3.1 was released when JDK 1.3 was current, and JDK 1.3 did not support a timeout for the socket connect. The "nightly" build of Apache SOAP supports timeout for connect if you are using JDK 1.4 or later