Group,

I have a question on soapmessage.writeTo(stream);

When I send it over a TCP socket, it does not send the last line of the soap
message, esp. </soap:Envelope>

The server side keeps on waiting for this piece to arrive. Why is it happening
if it is a socket connection? It can wait for the response after sending the
whole message to the server. Why should it hold a piece of the request to
itself.


If the stream is System.out or a ByteArrayOutputStream or anything local,
everything works fine.

I would like some suggestions from the users to troubleshoot this issue.

Regards
Srilekha






Reply via email to