<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2314.1000" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>Hello all,</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>I'm building a Client-Server application which communicates
using XML. To make the exchange of XML files I'm doing Socket connections in
Java. The problem I am facing is that I can't build the dom tree by parsing the
received XML file using DOMBuilder.build( InputStream in ) before closing the
connection. This method blocks until the client's OutputStream is closed. The
problem ist that when the OutputStream is closed the same happens to the
connection, and I can't send the server response. I have alredy tried to make an
Adapter class tha calls flush instead of close (in the client's side),
but I didn't work. </FONT></DIV>
<DIV><FONT size=2>I don't know if any of you have already experienced the same
problem, but I would appreciate any kind of help.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>Best Regards,</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>Otavio</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>============================<BR> Otavio Rezende da Silva
<BR> Grupo TecComm - PUC-Rio <BR> Tel: (21) 540-6915
r
110
<BR>============================</FONT></DIV></BODY></HTML>