You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Samisa Abeysinghe (JIRA)" <ax...@ws.apache.org> on 2005/02/02 04:28:20 UTC

[jira] Updated: (AXISCPP-357) createImmediateChild() and createChild() APIs in the IHeaderBlock does not create namespace declaration

     [ 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