Return-Path: Delivered-To: apmail-ws-axis-c-dev-archive@www.apache.org Received: (qmail 9545 invoked from network); 20 Jun 2005 10:11:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 20 Jun 2005 10:11:51 -0000 Received: (qmail 37222 invoked by uid 500); 20 Jun 2005 10:11:50 -0000 Delivered-To: apmail-ws-axis-c-dev-archive@ws.apache.org Received: (qmail 37187 invoked by uid 500); 20 Jun 2005 10:11:49 -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 37170 invoked by uid 99); 20 Jun 2005 10:11:48 -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.29) with ESMTP; Mon, 20 Jun 2005 03:11:48 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 74009ED for ; Mon, 20 Jun 2005 11:43:18 +0200 (CEST) Message-ID: <1032970453.1119260598473.JavaMail.jira@ajax.apache.org> Date: Mon, 20 Jun 2005 11:43:18 +0200 (CEST) From: "Samisa Abeysinghe (JIRA)" To: axis-c-dev@ws.apache.org Subject: [jira] Commented: (AXISCPP-363) createStdAttribute() uses an undeclared namespace prefix 'env' when SOAP_VER_1_2 is passed as the SOAP_VERSION. In-Reply-To: <1741564885.1105089074236.JavaMail.jira@ajax.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/AXISCPP-363?page=comments#action_12314040 ] Samisa Abeysinghe commented on AXISCPP-363: ------------------------------------------- SOAP version to be used is determined by the generated code. In case this is SOAP 1.1, if the user tries to create a SOAP 1.2 attribute, then this error happens. Until a method is invoked on the stub, the SOAP version is not set. Hence if the user is trying to set the attribute with SOAP version, before a method invocation, which is the typical case, there is no way to validate the version used. Hnece we have a basic design problem here. > createStdAttribute() uses an undeclared namespace prefix 'env' when SOAP_VER_1_2 is passed as the SOAP_VERSION. > ---------------------------------------------------------------------------------------------------------------- > > Key: AXISCPP-363 > URL: http://issues.apache.org/jira/browse/AXISCPP-363 > Project: Axis-C++ > Type: Bug > Components: Client - API > Reporter: James Jose > Assignee: Samisa Abeysinghe > > IHeaderBlock *phb=ws.createSOAPHeaderBlock("TestHeader","http://axis.com"); > IAttribute *attr=phb->createStdAttribute(ROLE_NEXT,SOAP_VER_1_2); > will create the following SOAP Header. > > > Here the prefix 'env' is an undeclared prefix. Also there is lot of spaces in the value of 'role' attribute. -- 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