aspose file tools*
The moose likes XML and Related Technologies and the fly likes convert xml byte format message Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "convert xml byte format message " Watch "convert xml byte format message " New topic

convert xml byte format message

D Wynn
Ranch Hand

Joined: May 03, 2004
Posts: 38
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

Joined: Mar 22, 2000
Posts: 12676
XML documents are expected to be composed of UNICODE characters. What does "byte format" mean?

Just about any XML tutorial should get you started.


Java Resources at
D Wynn
Ranch Hand

Joined: May 03, 2004
Posts: 38
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

Joined: Oct 14, 2005
Posts: 18124

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:
subject: convert xml byte format message
Similar Threads
how to convert PPT file to XML file
how to convert java string into XML format ???
Converting any standard file formats into bytes.
Xml Element to Byte Array
EDIFACT to XML conversion in Java