Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Sockets and JAXB  RSS feed

 
Lars Flagan
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!