Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.4 Final
-
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.