Hello, I am using SOAP now for a while. I've started with SOAP 2.0 and now I switched to SOAP 2.1 with some modifications. It all worked before, but now I am trying to reinstall the application on a different server. What happens is that the application makes the correct call. It also recieves the response but then hangs.
This happens when, in the HTTPUtils.post(..) method, the ByteArrayDataSource is constructed with an inputstream and a charset. In this constructor the response is read from the underlying inputstream with a while(true) { .. } construction. Reading the description of InputStream.read(byte[]), though, learns that, when no data is available, the method blocks until data comes available. Therefore I set the timeout in the SOAPHTTPConnection to 30000 milliseconds. This did not work. Does anybody has an idea of what i could do to prevent the application to hang? With Regards, Sander Brienen Cap Gemini Ernst & Young WARP11 Advanced Development email: [EMAIL PROTECTED] web: http://www.nl.cgey.com -- **************************************************************************** This message contains information that may be privileged or confidential and is the property of the Cap Gemini Ernst & Young Group. It is only intended for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. ****************************************************************************