Uploaded image for project: 'Axis2'
  1. Axis2
  2. AXIS2-1084

Calling Document.serialize() or OMElement.serializeandConsume() throws a "org.apache.axiom.om.OMException: Unsupported Operation" Exception

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0
    • None
    • om
    • None
    • jdk 1.5.0, Axiom 1.0,

    Description

      I try to serialize an object tree using Axiom. I create a document and put the OMElement in it but I cannot write the the tree to a file. If I call document.serialize() I get the exeption an if I do a OMElement.serializeandConsume() on the root element I get the same Exception. I have put together a demo eclipse project without the jar files to show the problem. It is attached to the Issue. I hope there is someone who can help me solve this problem.

      Attachments

        Activity

          People

            eran chinthaka Eran Chinthaka
            sven-loe Sven Lösekann
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: