Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 19717 invoked from network); 20 Dec 2005 05:53:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 20 Dec 2005 05:53:58 -0000 Received: (qmail 99575 invoked by uid 500); 20 Dec 2005 05:53:55 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 99547 invoked by uid 500); 20 Dec 2005 05:53:54 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 99536 invoked by uid 99); 20 Dec 2005 05:53:54 -0000 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Dec 2005 21:53:52 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 25D83CB for ; Tue, 20 Dec 2005 06:53:31 +0100 (CET) Message-ID: <38611941.1135058011153.JavaMail.jira@ajax.apache.org> Date: Tue, 20 Dec 2005 06:53:31 +0100 (CET) From: "Jayachandra Sekhara Rao Sunkara (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Updated: (AXIS-2347) setBody results in a DOMException In-Reply-To: <33514811.1135057891088.JavaMail.jira@ajax.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ 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