How do I publish an XML message?

Submitted by: Administrator
Follow these steps:
1. Generate XML from the DOM document tree.
2. Serialize the generated DOM document to a StringWriter.
3. Call toString on the StringWriter and pass it into message.setText.
4. Publish the message.
Submitted by: Administrator

Read Online BEA Weblogic Job Interview Questions And Answers