Malachi de Aelfweald wrote:
> I am trying to send data through a socket, using a marshaller at one end
> and an unmarshaller at the other. To ensure that the problem was not on
> the marshaller side (perhaps, flushing, etc), I put a filter stream on
> the unmarshaller side and saw that all the data was in fact being sent
> (including an extra blank line at the end).
>
> The unmarshaller never returns from the unmarshall call, even though all
> the data is there. If I hard-close the stream on the sending side, then
> it returns with the content just fine, but then the socket is hosed for
> further communication.
>
>
A similiar question[1] has already been posted and I think Kohsuke's reply[2]
covers your use-case as well. There's also a sample app bundled with the
release that you may be able to leverage - look for samples/xml-channel.
Thanks,
--Ryan
[1]
https://jaxb.dev.java.net/servlets/ReadMsg?list=users&msgId=10789
[2]
https://jaxb.dev.java.net/servlets/ReadMsg?list=users&msgId=10835
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net