I believe you can set the SO_TIMEOUT with Apache SOAP 2.3.1
In HTTPUtils, I see this:
if (timeout > 0) // Should be redundant but not every JVM likes this
s.setSoTimeout(timeout);
... where the SO_TIMEOUT is set after creating the socket ( be it SSL or non-SSL ).
[EMAIL PROTECTED] wrote:
Hi all,
I want to have a timeout mechanism when my program send a SOAP message to a server using SSL. It does not work in my version (2.3.1) of Apache SOAP (my program waits indefinitely if the server do not respond). I have browsed the nightly builds and found a fix there but it requires JDK 1.4.x.
Anyone know if a fix exists for JDK 1.3.x?
Thanks.
Billy
************************************************************ The Hongkong and Shanghai Banking Corporation Limited whose registered address is 1 Queen's Road Central, Hong Kong ************************************************************
********************************************************************** This E-mail is confidential. It may also be legally privileged. If you are not the addressee you may not copy, forward, disclose or use any part of it. If you have received this message in error, please delete it and all copies from your system and notify the sender immediately by return E-mail.
Internet communications cannot be guaranteed to be timely, secure, error or virus-free. The sender does not accept liability for any errors or omissions. **********************************************************************
-- Jesus M. Salvo Jr. Mobile Internet Group Pty Ltd (formerly Softgame International Pty Ltd) M: +61 409 126699 T: +61 2 94604777 F: +61 2 94603677
PGP Public key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xC0BA5348