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 "Roshan Weerasuriya (JIRA)" <ax...@ws.apache.org> on 2004/12/03 07:39:34 UTC

[jira] Closed: (AXISCPP-212) Conflict in const/non-const method calls for Basic Node objects

     [ http://nagoya.apache.org/jira/browse/AXISCPP-212?page=history ]
     
Roshan Weerasuriya closed AXISCPP-212:
--------------------------------------


Done

> Conflict in const/non-const method calls for Basic Node objects
> ---------------------------------------------------------------
>
>          Key: AXISCPP-212
>          URL: http://nagoya.apache.org/jira/browse/AXISCPP-212
>      Project: Axis-C++
>         Type: Improvement
>   Components: Basic Architecture
>     Versions: 1.3 Beta
>  Environment: Windows 2000 Professional, with Visual C++ IDE/compiler
>     Reporter: Sharanka Perera
>     Assignee: Roshan Weerasuriya

>
> Some of the methods in the basic node object return a constant 
> value, and some don't. In my case I'm writing a security handler that needs to access and parse the Security header (if any) of a SOAP message. Since the security header can contain varying content, it is better to assume that the content is unknown and parse each header element from the top and process it accordingly. For this, a couple of generic basic node objects would be utilized, and with the aid of a loop each parsed value would be assigned to the basic node objects for analysis. Unfortunately, at this point, some of the methods of the basic node object that have to be called require that the calling object be constant, and some of the other methods that must be called require that it *not* be. Since a generic object used for parsing cannot be both constant and not constant, this should probably be rectified.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.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