My goal is to keep connection between soap4j client and a SOAP server. I
extended class SOAPHTTPConnection in order to define additional header
element "Connection: Keep-Alive". The client hangs up in this case, because
standard implementation hangs up in constructor ByteArrayDataSource:

        while (true){
            len = is.read(buf);
            if (len < 0)
                break;
            os.write(buf, 0, len);
        }

Did somebody try to avoid this without re-implementing too much code?

Thanks.

Reply via email to