You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "John Hawkins (JIRA)" <ax...@ws.apache.org> on 2005/02/21 13:04:55 UTC
[jira] Updated: (AXISCPP-452) createStdAttribute() API in IHeaderBlock allows duplicate attribute creation within a tag
[ http://issues.apache.org/jira/browse/AXISCPP-452?page=history ]
John Hawkins updated AXISCPP-452:
---------------------------------
Description:
IHeaderBlock *phb1 = ws1.createSOAPHeaderBlock "TestHeader","http://ws.apache.org/");
IAttribute *attr1 =
phb1->createStdAttribute(MUST_UNDERSTAND_TRUE,SOAP_VER_1_1);
IAttribute *attr1a=
phb1->createStdAttribute(MUST_UNDERSTAND_TRUE,SOAP_VER_1_1);
This code will create same standard attribute 'mustUnderstand' twice in the headerblock. API should check whether the attribute is already created before creating the new one.
<SOAP-ENV:Header><ns2:TestHeader xmlns:ns2="http://ws.apache.org/" SOAP-ENV:mustUnderstand="1" SOAP-ENV:mustUnderstand="1"></ns2:TestHeader></SOAP-ENV:Header>
was:
IHeaderBlock *phb1 = ws1.createSOAPHeaderBlock "TestHeader","http://ws.apache.org/");
IAttribute *attr1 =
phb1->createStdAttribute(MUST_UNDERSTAND_TRUE,SOAP_VER_1_1);
IAttribute *attr1a=
phb1->createStdAttribute(MUST_UNDERSTAND_TRUE,SOAP_VER_1_1);
This code will create same standard attribute 'mustUnderstand' twice in the headerblock. API should check whether the attribute is already created before creating the new one.
<SOAP-ENV:Header><ns2:TestHeader xmlns:ns2="http://ws.apache.org/" SOAP-ENV:mustUnderstand="1" SOAP-ENV:mustUnderstand="1"></ns2:TestHeader></SOAP-ENV:Header>
Priority: Minor (was: Major)
> createStdAttribute() API in IHeaderBlock allows duplicate attribute creation within a tag
> -----------------------------------------------------------------------------------------
>
> Key: AXISCPP-452
> URL: http://issues.apache.org/jira/browse/AXISCPP-452
> Project: Axis-C++
> Type: Bug
> Reporter: James Jose
> Priority: Minor
>
> IHeaderBlock *phb1 = ws1.createSOAPHeaderBlock "TestHeader","http://ws.apache.org/");
> IAttribute *attr1 =
> phb1->createStdAttribute(MUST_UNDERSTAND_TRUE,SOAP_VER_1_1);
> IAttribute *attr1a=
> phb1->createStdAttribute(MUST_UNDERSTAND_TRUE,SOAP_VER_1_1);
> This code will create same standard attribute 'mustUnderstand' twice in the headerblock. API should check whether the attribute is already created before creating the new one.
> <SOAP-ENV:Header><ns2:TestHeader xmlns:ns2="http://ws.apache.org/" SOAP-ENV:mustUnderstand="1" SOAP-ENV:mustUnderstand="1"></ns2:TestHeader></SOAP-ENV:Header>
--
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