Uploaded image for project: 'Axis-C++'
  1. Axis-C++
  2. AXISCPP-452

createStdAttribute() API in IHeaderBlock allows duplicate attribute creation within a tag

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.6 Alpha
    • SOAP
    • None

    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>

      Attachments

        Activity

          People

            samisa Don Samisa Abeysinghe
            james James Jose
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: