This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

convert xml byte format message

 
D Wynn
Ranch Hand
Posts: 38
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would like to convert a XML message thats byte format to a textmessage how can I do this?
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13048
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
XML documents are expected to be composed of UNICODE characters. What does "byte format" mean?

Just about any XML tutorial should get you started.

Bill
 
D Wynn
Ranch Hand
Posts: 38
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The messages are in byte format, so in the onMessage method when I try to unmarshaller the message as a TextMessage my program throws exception...
 
Paul Clapham
Sheriff
Pie
Posts: 20196
26
MySQL Database
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What does "byte format" mean in this context, then? And what's a "TextMessage"? And is this unmarshalling you're doing something to do with JAXB or something else?

Please read this: TellTheDetails.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic