axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jayachandra Sekhara Rao Sunkara (JIRA)" <axis-...@ws.apache.org>
Subject [jira] Updated: (AXIS-2347) setBody results in a DOMException
Date Tue, 20 Dec 2005 05:53:31 GMT
     [ http://issues.apache.org/jira/browse/AXIS-2347?page=all ]

Jayachandra Sekhara Rao Sunkara updated AXIS-2347:
--------------------------------------------------

    Attachment: TestSOAPEnvelope.java

Attaching TestSOAPEnvelope.java that depicts the scenario when the described exception is
produced.

> setBody results in a DOMException
> ---------------------------------
>
>          Key: AXIS-2347
>          URL: http://issues.apache.org/jira/browse/AXIS-2347
>      Project: Apache Axis
>         Type: Bug
>   Components: SAAJ
>     Versions: 1.3
>     Reporter: Jayachandra Sekhara Rao Sunkara
>     Assignee: Jayachandra Sekhara Rao Sunkara
>  Attachments: TestSOAPEnvelope.java
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message