You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Eran Chinthaka (JIRA)" <ji...@apache.org> on 2005/06/27 11:55:59 UTC

[jira] Created: (AXIS2-51) blocking access to some OMElement methods within SOAPElements

blocking access to some OMElement methods within SOAPElements
-------------------------------------------------------------

         Key: AXIS2-51
         URL: http://issues.apache.org/jira/browse/AXIS2-51
     Project: Apache Axis 2.0 (Axis2)
        Type: Bug
  Components: om  
    Reporter: Eran Chinthaka
    Priority: Minor


- Since SOAPEnvelope extends from OMElement, its allowed to have children other than SOAPHeader and SOAPBody. This must be fixed.
- references to the header, body are cached inside the envelope. If some one discard either body or header, the reference in he envelope is of no use. Have to update that.

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


[jira] Commented: (AXIS2-51) blocking access to some OMElement methods within SOAPElements

Posted by "Ashutosh Shahi (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-51?page=comments#action_12317105 ] 

Ashutosh Shahi commented on AXIS2-51:
-------------------------------------

For the second point, discarding a header is a very common case, and should be supported. We can atleast null the reference to header when discard() is called, and check for null before accessing it? Or we should not look to cache the header.
Discarding a body I think is not possible.
Ashutosh

> blocking access to some OMElement methods within SOAPElements
> -------------------------------------------------------------
>
>          Key: AXIS2-51
>          URL: http://issues.apache.org/jira/browse/AXIS2-51
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Bug
>   Components: om
>     Reporter: Eran Chinthaka
>     Priority: Minor

>
> - Since SOAPEnvelope extends from OMElement, its allowed to have children other than SOAPHeader and SOAPBody. This must be fixed.
> - references to the header, body are cached inside the envelope. If some one discard either body or header, the reference in he envelope is of no use. Have to update that.

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


[jira] Assigned: (AXIS2-51) blocking access to some OMElement methods within SOAPElements

Posted by "Srinath Perera (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-51?page=all ]

Srinath Perera reassigned AXIS2-51:
-----------------------------------

    Assign To: Eran Chinthaka

> blocking access to some OMElement methods within SOAPElements
> -------------------------------------------------------------
>
>          Key: AXIS2-51
>          URL: http://issues.apache.org/jira/browse/AXIS2-51
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Bug
>   Components: om
>     Reporter: Eran Chinthaka
>     Assignee: Eran Chinthaka
>     Priority: Minor

>
> - Since SOAPEnvelope extends from OMElement, its allowed to have children other than SOAPHeader and SOAPBody. This must be fixed.
> - references to the header, body are cached inside the envelope. If some one discard either body or header, the reference in he envelope is of no use. Have to update that.

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


[jira] Commented: (AXIS2-51) blocking access to some OMElement methods within SOAPElements

Posted by "Srinath Perera (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-51?page=comments#action_12317088 ] 

Srinath Perera commented on AXIS2-51:
-------------------------------------

How about wrap the SOAPEnvelope instead of extend it?

Agien if we can not fix this .. and no body knows and plan to make a progress let us colse this or  make it minor 

> blocking access to some OMElement methods within SOAPElements
> -------------------------------------------------------------
>
>          Key: AXIS2-51
>          URL: http://issues.apache.org/jira/browse/AXIS2-51
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Bug
>   Components: om
>     Reporter: Eran Chinthaka
>     Priority: Minor

>
> - Since SOAPEnvelope extends from OMElement, its allowed to have children other than SOAPHeader and SOAPBody. This must be fixed.
> - references to the header, body are cached inside the envelope. If some one discard either body or header, the reference in he envelope is of no use. Have to update that.

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


[jira] Resolved: (AXIS2-51) blocking access to some OMElement methods within SOAPElements

Posted by "Eran Chinthaka (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-51?page=all ]
     
Eran Chinthaka resolved AXIS2-51:
---------------------------------

    Resolution: Fixed

Fixed.

> blocking access to some OMElement methods within SOAPElements
> -------------------------------------------------------------
>
>          Key: AXIS2-51
>          URL: http://issues.apache.org/jira/browse/AXIS2-51
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Bug
>   Components: om
>     Reporter: Eran Chinthaka 2
>     Assignee: Eran Chinthaka
>     Priority: Minor

>
> - Since SOAPEnvelope extends from OMElement, its allowed to have children other than SOAPHeader and SOAPBody. This must be fixed.
> - references to the header, body are cached inside the envelope. If some one discard either body or header, the reference in he envelope is of no use. Have to update that.

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


[jira] Commented: (AXIS2-51) blocking access to some OMElement methods within SOAPElements

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-51?page=comments#action_12317090 ] 

Davanum Srinivas commented on AXIS2-51:
---------------------------------------

again override addChild and impose the expected behavior (of anything other than SOAPHeader and SOAPBody is added, throw an exception)

-- dims

> blocking access to some OMElement methods within SOAPElements
> -------------------------------------------------------------
>
>          Key: AXIS2-51
>          URL: http://issues.apache.org/jira/browse/AXIS2-51
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Bug
>   Components: om
>     Reporter: Eran Chinthaka
>     Priority: Minor

>
> - Since SOAPEnvelope extends from OMElement, its allowed to have children other than SOAPHeader and SOAPBody. This must be fixed.
> - references to the header, body are cached inside the envelope. If some one discard either body or header, the reference in he envelope is of no use. Have to update that.

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


[jira] Updated: (AXIS2-51) blocking access to some OMElement methods within SOAPElements

Posted by "Eran Chinthaka (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-51?page=all ]

Eran Chinthaka updated AXIS2-51:
--------------------------------

    Fix Version: 0.91

> blocking access to some OMElement methods within SOAPElements
> -------------------------------------------------------------
>
>          Key: AXIS2-51
>          URL: http://issues.apache.org/jira/browse/AXIS2-51
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Bug
>   Components: om
>     Reporter: Eran Chinthaka 2
>     Assignee: Eran Chinthaka
>     Priority: Minor
>      Fix For: 0.91

>
> - Since SOAPEnvelope extends from OMElement, its allowed to have children other than SOAPHeader and SOAPBody. This must be fixed.
> - references to the header, body are cached inside the envelope. If some one discard either body or header, the reference in he envelope is of no use. Have to update that.

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