axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Jose (JIRA)" <>
Subject [jira] Created: (AXISCPP-360) compilation error when using APIs in BasicNode
Date Thu, 06 Jan 2005 08:59:15 GMT
compilation error when using APIs in BasicNode 

         Key: AXISCPP-360
     Project: Axis-C++
        Type: Bug
    Reporter: James Jose

IHeaderBlock *phb=ws.createSOAPHeaderBlock("Test","");
		BasicNode *bn=phb->createImmediateChild(ELEMENT_NODE,"Name","ns2","",NULL);

		const BasicNode *bn1=phb->getFirstChild();

gives the following compilation error.
error C2662: 'axiscpp::BasicNode::getLocalName' : cannot convert 'this' pointer from 'const
axiscpp::BasicNode' to 'axiscpp::BasicNode &'
The same error occurs if we call other APIs also.

This compilation problem occurs only when the calling object is of type 'const BasicNode *'.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
If you want more information on JIRA, or have a bug to report see:

View raw message