[ http://issues.apache.org/jira/browse/AXISCPP-452?page=history ]
Samisa Abeysinghe updated AXISCPP-452:
--------------------------------------
Assign To: Samisa Abeysinghe
Component: SOAP
> 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
> Components: SOAP
> Reporter: James Jose
> Assignee: Samisa Abeysinghe
> 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