[ http://issues.apache.org/jira/browse/AXISCPP-357?page=history ]

Samisa Abeysinghe updated AXISCPP-357:
--------------------------------------

    Description: 

createImmediateChild (NODE_TYPE eNODE_TYPE, AxisChar *pachLocalName, AxisChar 
*pachPrefix, AxisChar *pachUri, AxisChar *pachValue)=0 and
createChild (NODE_TYPE eNODE_TYPE, AxisChar *pachLocalName, AxisChar 
*pachPrefix, AxisChar *pachUri, AxisChar *pachValue)=0 
APIs does not create namespace declaration.


BasicNode *bn=phb->createImmediateChild 
(ELEMENT_NODE,"Name","np","http://axis.com",NULL);
creates the following element without namespace declaration for prefix "np"

<SOAP-ENV:Header><ns2:Test xmlns:ns2="http://apache.com";>
<np:Name></np:Name></ns2:Test></SOAP-ENV:Header>
<SOAP-ENV:Body>




  was:


createImmediateChild (NODE_TYPE eNODE_TYPE, AxisChar *pachLocalName, AxisChar 
*pachPrefix, AxisChar *pachUri, AxisChar *pachValue)=0 and
createChild (NODE_TYPE eNODE_TYPE, AxisChar *pachLocalName, AxisChar 
*pachPrefix, AxisChar *pachUri, AxisChar *pachValue)=0 
APIs does not create namespace declaration.


BasicNode *bn=phb->createImmediateChild 
(ELEMENT_NODE,"Name","np","http://axis.com",NULL);
creates the following element without namespace declaration for prefix "np"

<SOAP-ENV:Header><ns2:Test xmlns:ns2="http://apache.com";>
<np:Name></np:Name></ns2:Test></SOAP-ENV:Header>
<SOAP-ENV:Body>




      Component: SOAP

> createImmediateChild() and createChild() APIs in the IHeaderBlock does not 
> create  namespace declaration
> --------------------------------------------------------------------------------------------------------
>
>          Key: AXISCPP-357
>          URL: http://issues.apache.org/jira/browse/AXISCPP-357
>      Project: Axis-C++
>         Type: Bug
>   Components: SOAP
>     Reporter: James Jose
>     Assignee: Roshan Weerasuriya

>
> createImmediateChild (NODE_TYPE eNODE_TYPE, AxisChar *pachLocalName, AxisChar 
> *pachPrefix, AxisChar *pachUri, AxisChar *pachValue)=0 and
> createChild (NODE_TYPE eNODE_TYPE, AxisChar *pachLocalName, AxisChar 
> *pachPrefix, AxisChar *pachUri, AxisChar *pachValue)=0 
> APIs does not create namespace declaration.
> BasicNode *bn=phb->createImmediateChild 
> (ELEMENT_NODE,"Name","np","http://axis.com",NULL);
> creates the following element without namespace declaration for prefix "np"
> <SOAP-ENV:Header><ns2:Test xmlns:ns2="http://apache.com";>
> <np:Name></np:Name></ns2:Test></SOAP-ENV:Header>
> <SOAP-ENV:Body>

-- 
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

Reply via email to