Hi! I have written a client-server application that uses SOAP for transferring data. Initially the application was executing the transfer in a sequential fashion i.e. first it used to send data to the server and then receive data from the server. This was later changed by me to enable execution of both the send and receive processes simultaneously using Threads. Lately the application has started throwing either of the following exceptions from time to time: 1. [SOAPException: faultCode=SOAP-ENV:Client; msg=Error parsing HTTP status line "": java.util.NoSuchElementException; targetException=java.lang.IllegalArgumentException: Error parsing HTTP status line "": java.util.NoSuchElementException] OR 2. [SOAPException: faultCode=SOAP-ENV:Client; msg=Connection reset by peer: socket write error; targetException=java.net.SocketException: Connection reset by peer: socket write error] The second exception is more often thrown. Both these exception occur when the invoke() method is called on an org.apache.soap.rpc.Call object. Can anyone help me in finding why these exceptions are being thrown?