Return-Path: Delivered-To: apmail-ws-axis-c-dev-archive@www.apache.org Received: (qmail 504 invoked from network); 2 Feb 2005 04:18:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 2 Feb 2005 04:18:47 -0000 Received: (qmail 79242 invoked by uid 500); 2 Feb 2005 04:18:46 -0000 Delivered-To: apmail-ws-axis-c-dev-archive@ws.apache.org Received: (qmail 79211 invoked by uid 500); 2 Feb 2005 04:18:46 -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 79195 invoked by uid 99); 2 Feb 2005 04:18:46 -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; Tue, 01 Feb 2005 20:18:46 -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 j123oPCT024590 for ; Wed, 2 Feb 2005 04:50:25 +0100 Message-ID: <760114614.1107316225122.JavaMail.jira@ajax.apache.org> Date: Wed, 2 Feb 2005 04:50:25 +0100 (CET) From: "Samisa Abeysinghe (JIRA)" To: axis-c-dev@ws.apache.org Subject: [jira] Updated: (AXISCPP-375) setPrefix() in IAttribute class does not check whether the given namespace prefix is declared or not In-Reply-To: <2067589949.1105599377491.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-375?page=history ] Samisa Abeysinghe updated AXISCPP-375: -------------------------------------- Component: SOAP > setPrefix() in IAttribute class does not check whether the given namespace prefix is declared or not > ----------------------------------------------------------------------------------------------------- > > Key: AXISCPP-375 > URL: http://issues.apache.org/jira/browse/AXISCPP-375 > Project: Axis-C++ > Type: Bug > Components: SOAP > Reporter: James Jose > Assignee: Roshan Weerasuriya > > IHeaderBlock *phb=ws.createSOAPHeaderBlock("TestHeader","http://axis.apache.com"); > IAttribute *attr=phb->createAttribute("Name","ns2","","Axis"); > attr->setPrefix("np"); > The above code will generate the following soap header. > > Here the new prefix of Name is 'np' which is an undeclared one and so the request fails. So the API should check whether the prefix is declared or not before setting it. > createAttribute() API also sets the prefix of an Attribute. SO createAttribute() API should also check for this declaration. -- 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