On Thursday 24 February 2005 12:53, Ching, Vivian M, ALABS wrote:
> If I am using SOAPHTTPConnection to send and receive soap
> messages.  My question is: when are the socket connections
> released?  

Have a look to src/org/apache/soap/util/net/HTTPUtils.java :

at the end of post( ... )

You will find that the socket is closed at the and of every call
of post(...):

      /* All done here! */
      bOutStream.close();
      outStream.close();
      bInStream.close();
      inStream.close();
->    s.close();
      return response;


HTH, Achim

Reply via email to