Forums Register Login

Sockets and JAXB

+Pie Number of slices to send: Send
Is it possible to use jaxb to marshal xml to the outputstream of a socket and read it back in the inputstream of a serversocket?

I'm having trouble at the server end cause the jaxb unmarshaller does not know where the xml documet ends...does not find the end of the stream.

is the only way to fix this to close the stream?
Look! It's Leonardo da Vinci! And he brought a tiny ad!
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 830 times.
Similar Threads
Jaxb mutually exclusive xml operator
JAXB Taglib documentation?
Better way to return XML document
End of stream.
JAXB and Illegal Character
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 08:46:02.