Issue Details (XML | Word | Printable)

Key: AXIS-2347
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Jayachandra Sekhara Rao Sunkara
Reporter: Jayachandra Sekhara Rao Sunkara
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Axis

setBody results in a DOMException

Created: 20/Dec/05 02:49 PM   Updated: 20/Dec/05 04:38 PM
Return to search
Component/s: SAAJ
Affects Version/s: 1.3
Fix Version/s: None

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works NodeImpl_setParent.patch 2005-12-20 04:38 PM Jayachandra Sekhara Rao Sunkara 0.4 kB
Java Source File Licensed for inclusion in ASF works TestSOAPEnvelope.java 2005-12-20 02:51 PM Jayachandra Sekhara Rao Sunkara 2 kB


 Description  « Hide
The act of detaching the body of a soap envelope and trying to set its body with a new soap body results in following Exception

javax.xml.soap.SOAPException: javax.xml.soap.SOAPException: org.w3c.dom.DOMExcep
tion: NodeImpl Not found
        at org.apache.axis.message.SOAPBody.setParentElement(SOAPBody.java :91)
        at org.apache.axis.message.SOAPEnvelope.setBody(SOAPEnvelope.java:309)
        at mytest.soapenvelope.TestSOAPEnvelope.setBody(TestSOAPEnvelope.java:16
)
        at mytest.soapenvelope.TestSOAPEnvelope.main (TestSOAPEnvelope.java:40)
Caused by: javax.xml.soap.SOAPException: org.w3c.dom.DOMException: NodeImpl Not
found
        at org.apache.axis.message.NodeImpl.setParentElement(NodeImpl.java:634)
        at org.apache.axis.message.SOAPBody.setParentElement (SOAPBody.java:88)
        ... 3 more
Caused by: org.w3c.dom.DOMException: NodeImpl Not found
        at org.apache.axis.message.NodeImpl.removeChild(NodeImpl.java:515)
        at org.apache.axis.message.SOAPEnvelope.removeChild (SOAPEnvelope.java:61
7)
        at org.apache.axis.message.NodeImpl.detachNode(NodeImpl.java:661)
        at org.apache.axis.message.NodeImpl.appendChild(NodeImpl.java:493)
        at org.apache.axis.message.NodeImpl.setParent (NodeImpl.java:792)
        at org.apache.axis.message.NodeImpl.setParentElement(NodeImpl.java:632)
        ... 4 more

Attached test case (TestSOAPEnvelope.java) describes the scenario.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
There are no subversion log entries for this issue yet.