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

Problem in BasicNode created by createChild() and createImmediateChild() APIs in IHeaderBlock

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.4 Final
    • 1.5 Final
    • Serialization
    • None

    Description

      Problem in BasicNode created by createChild() and createImmediateChild() APIs in the IHeaderBlock class
      -----------------------------------------------------------------------------

      If we creates BasicNode of type ELEMENT_NODE by using the following APIs
      1.virtual BasicNode * createChild (NODE_TYPE eNODE_TYPE, AxisChar *pachLocalName, AxisChar *pachPrefix, AxisChar *pachUri, AxisChar *pachValue)=0
      2.virtual BasicNode * createImmediateChild (NODE_TYPE eNODE_TYPE, AxisChar *pachLocalName, AxisChar *pachPrefix, AxisChar *pachUri, AxisChar *pachValue)=0
      then generated BasicNode having some problems.

      getNodeType() of generated object will return a very large integer instead of ELEMENT_NODE(ie 1).
      Also if we try to create an attribute on this element by using createAttribute(), the attribute is not created.ie it is not reflected on the generated SOAP
      message.

      Attachments

        Activity

          People

            Unassigned Unassigned
            james James Jose
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: