Return-Path: Delivered-To: apmail-ws-axis-c-dev-archive@www.apache.org Received: (qmail 50131 invoked from network); 14 Feb 2005 10:18:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 14 Feb 2005 10:18:57 -0000 Received: (qmail 77986 invoked by uid 500); 14 Feb 2005 10:18:56 -0000 Delivered-To: apmail-ws-axis-c-dev-archive@ws.apache.org Received: (qmail 77961 invoked by uid 500); 14 Feb 2005 10:18:56 -0000 Mailing-List: contact axis-c-dev-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: List-Id: "Apache AXIS C Developers List" Reply-To: "Apache AXIS C Developers List" Delivered-To: mailing list axis-c-dev@ws.apache.org Received: (qmail 77946 invoked by uid 99); 14 Feb 2005 10:18:56 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 14 Feb 2005 02:18:55 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (8.12.11/8.12.11) with ESMTP id j1EA9DO2031355 for ; Mon, 14 Feb 2005 11:09:13 +0100 Message-ID: <635582887.1108375753705.JavaMail.jira@ajax.apache.org> Date: Mon, 14 Feb 2005 11:09:13 +0100 (CET) From: "Rangika Mendis (JIRA)" To: axis-c-dev@ws.apache.org Subject: [jira] Closed: (AXISCPP-420) Unknown Exception occures when 3 child elements are added to a Header Block In-Reply-To: <1283167720.1108022776748.JavaMail.jira@ajax.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/AXISCPP-420?page=history ] Rangika Mendis closed AXISCPP-420: ---------------------------------- The bug is fixed. > Unknown Exception occures when 3 child elements are added to a Header Block > --------------------------------------------------------------------------- > > Key: AXISCPP-420 > URL: http://issues.apache.org/jira/browse/AXISCPP-420 > Project: Axis-C++ > Type: Bug > Components: Handlers > Environment: Windows > Reporter: Rangika Mendis > Assignee: Rangika Mendis > Priority: Minor > > I tried to add 3 child elements to a header block of a client handler. > Then I got the "Unknown Exception has occured" error message but the output can be seen in the TCP Monitor. > The following is the code that I added:- > IHandlerSoapSerializer* pISZ; > pIMsg->getSoapSerializer(&pISZ); > IHeaderBlock* pIHeaderBlock= pISZ->createHeaderBlock(); > > pIHeaderBlock->setLocalName("AddressDetails"); > pIHeaderBlock->setUri("http://soapinterop.org/echoheader/"); > //---------------------- > > const AxisChar* pachHeaderVal = "no"; > BasicNode* pBasicNode = pIHeaderBlock->createChild(ELEMENT_NODE); > pBasicNode->setLocalName(pachHeaderVal); > > pIHeaderBlock->addChild(pBasicNode); > const AxisChar* pachHeaderVal1 = "239"; > BasicNode* pBasicNode1 = pIHeaderBlock->createChild(CHARACTER_NODE); > pBasicNode1->setValue(pachHeaderVal1); > > pBasicNode->addChild(pBasicNode1); > //----------------end----------- > //---------------------- > BasicNode* pBasicNode2 = pIHeaderBlock->createChild(ELEMENT_NODE); > pBasicNode2->setLocalName("Lane"); > > pIHeaderBlock->addChild(pBasicNode2); > BasicNode* pBasicNode3 = pIHeaderBlock->createChild(CHARACTER_NODE); > pBasicNode3->setValue("2nd Lane"); > > pBasicNode2->addChild(pBasicNode3); > //---------------end------ > //---------------------- > BasicNode* pBasicNode4 = pIHeaderBlock->createChild(ELEMENT_NODE); > pBasicNode4->setLocalName("City"); > > pIHeaderBlock->addChild(pBasicNode4); > BasicNode* pBasicNode5 = pIHeaderBlock->createChild(CHARACTER_NODE); > pBasicNode5->setValue("sfgsgsg"); > > pBasicNode4->addChild(pBasicNode5); > //--------end---------- > > } -- 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 - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira