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 "Fred Preston (JIRA)" <ax...@ws.apache.org> on 2006/04/05 15:06:05 UTC

[jira] Closed: (AXISCPP-349) Adding same BasicNode more than once results in some exception

     [ http://issues.apache.org/jira/browse/AXISCPP-349?page=all ]
     
Fred Preston closed AXISCPP-349:
--------------------------------


> Adding same BasicNode more than once results in some exception
> --------------------------------------------------------------
>
>          Key: AXISCPP-349
>          URL: http://issues.apache.org/jira/browse/AXISCPP-349
>      Project: Axis-C++
>         Type: Bug

>   Components: SOAP
>     Reporter: James Jose
>      Fix For: 1.5 Alpha

>
> Adding same BasicNode more than once results in some exception
> ----------------------------------------------------------------
> I created a BasicNode by using createChild() API in the IHeaderBlock.
> Then I added this BasicNode more than once by using addChild() API.
> This will generates the SOAP message correctly. But finnaly it throws
> exception.
> The code is as follows-
> IHeaderBlock *phb = ws.createSOAPHeaderBlock("TestHeader","http://ws.apache.org/");	
> 		BasicNode *Bnode1=phb->createChild(CHARACTER_NODE);
> 		Bnode1->setValue("AXIS");
> 		phb->addChild(Bnode1);
> 		phb->addChild(Bnode1);

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira