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 "Srinath Perera (JIRA)" <ji...@apache.org> on 2005/06/27 07:45:00 UTC

[jira] Created: (AXIS2-49) implementing DOM on AXIOM

implementing DOM on AXIOM
-------------------------

         Key: AXIS2-49
         URL: http://issues.apache.org/jira/browse/AXIS2-49
     Project: Apache Axis 2.0 (Axis2)
        Type: New Feature
  Components: om  
    Reporter: Srinath Perera
    Priority: Minor


this needed for the SAAJ and WS-Security support. we need the samples and docs 

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


Re: [jira] Commented: (AXIS2-49) implementing DOM on AXIOM

Posted by Davanum Srinivas <da...@gmail.com>.
Excellent!!!!!!!!!!!

On 12/11/05, Ruchith Udayanga Fernando (JIRA) <ji...@apache.org> wrote:
>     [ http://issues.apache.org/jira/browse/AXIS2-49?page=comments#action_12360142 ]
>
> Ruchith Udayanga Fernando commented on AXIS2-49:
> ------------------------------------------------
>
> Borrowed the cloning code from Xerces ... this was possible because the DOOM is structurally similar to Xerces
>
> So... finally.... we have *ALL* security test cases working with DOOM :-)
>
> Will checkin as soon as we fix the build
>
> > implementing DOM on AXIOM
> > -------------------------
> >
> >          Key: AXIS2-49
> >          URL: http://issues.apache.org/jira/browse/AXIS2-49
> >      Project: Apache Axis 2.0 (Axis2)
> >         Type: New Feature
> >   Components: om
> >     Reporter: Srinath Perera
> >     Assignee: Ruchith Udayanga Fernando
> >     Priority: Minor
>
> >
> > this needed for the SAAJ and WS-Security support. we need the samples and docs
>
> --
> 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
>
>


--
Davanum Srinivas : http://wso2.com/blogs/

[jira] Assigned: (AXIS2-49) implementing DOM on AXIOM

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

Eran Chinthaka reassigned AXIS2-49:
-----------------------------------

    Assign To: Ruchith Udayanga Fernando

> implementing DOM on AXIOM
> -------------------------
>
>          Key: AXIS2-49
>          URL: http://issues.apache.org/jira/browse/AXIS2-49
>      Project: Apache Axis 2.0 (Axis2)
>         Type: New Feature
>   Components: om
>     Reporter: Srinath Perera
>     Assignee: Ruchith Udayanga Fernando
>     Priority: Minor

>
> this needed for the SAAJ and WS-Security support. we need the samples and docs 

-- 
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-49) implementing DOM on AXIOM

Posted by "Ruchith Udayanga Fernando (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-49?page=comments#action_12360142 ] 

Ruchith Udayanga Fernando commented on AXIS2-49:
------------------------------------------------

Borrowed the cloning code from Xerces ... this was possible because the DOOM is structurally similar to Xerces

So... finally.... we have *ALL* security test cases working with DOOM :-)

Will checkin as soon as we fix the build

> implementing DOM on AXIOM
> -------------------------
>
>          Key: AXIS2-49
>          URL: http://issues.apache.org/jira/browse/AXIS2-49
>      Project: Apache Axis 2.0 (Axis2)
>         Type: New Feature
>   Components: om
>     Reporter: Srinath Perera
>     Assignee: Ruchith Udayanga Fernando
>     Priority: Minor

>
> this needed for the SAAJ and WS-Security support. we need the samples and docs 

-- 
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-49) implementing DOM on AXIOM

Posted by "Ruchith Udayanga Fernando (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-49?page=comments#action_12360140 ] 

Ruchith Udayanga Fernando commented on AXIS2-49:
------------------------------------------------

hmm... this is not possible since a DOOM node doesn't contain a reference to the factory that created it. 

Note that when we use DOOM progamatically as a usual DOM impl we do not use 'OM' Factories.

E.g.: 
Document doc = DocumentBuilderFactory.newInstance().newDocumentBuilder().newDocument();
Element elem = doc.createElement("Foo");

Now there's no involvement of a factory. We must be able to clone this 'elem' element.

I'm working on doing cloneNode() the same way as its done in Xerces... there is some progress ... :-)


> implementing DOM on AXIOM
> -------------------------
>
>          Key: AXIS2-49
>          URL: http://issues.apache.org/jira/browse/AXIS2-49
>      Project: Apache Axis 2.0 (Axis2)
>         Type: New Feature
>   Components: om
>     Reporter: Srinath Perera
>     Assignee: Ruchith Udayanga Fernando
>     Priority: Minor

>
> this needed for the SAAJ and WS-Security support. we need the samples and docs 

-- 
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-49) implementing DOM on AXIOM

Posted by "Ruchith Udayanga Fernando (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-49?page=comments#action_12360137 ] 

Ruchith Udayanga Fernando commented on AXIS2-49:
------------------------------------------------

Chinthaka, 

DOOM is working with ALL the security test cases except for one (#7) where it uses the cloneNode() ... 

I was trying to do cloning using the StAX events as shown below:

    public OMElement cloneOMElement() {
		ElementImpl elem = (ElementImpl)(new StAXOMBuilder(new OMDOMFactory(), this.getXMLStreamReader(true))).getDocumentElement();
		
		return elem;
    }


BUT... In DOM the cloned node is expected to belong to the same Document ...

Will close this issue as soon as I fix this cloning problem :-)

> implementing DOM on AXIOM
> -------------------------
>
>          Key: AXIS2-49
>          URL: http://issues.apache.org/jira/browse/AXIS2-49
>      Project: Apache Axis 2.0 (Axis2)
>         Type: New Feature
>   Components: om
>     Reporter: Srinath Perera
>     Assignee: Ruchith Udayanga Fernando
>     Priority: Minor

>
> this needed for the SAAJ and WS-Security support. we need the samples and docs 

-- 
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-49) implementing DOM on AXIOM

Posted by "Sanjiva Weerawarana (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-49?page=comments#action_12360138 ] 

Sanjiva Weerawarana commented on AXIS2-49:
------------------------------------------

The simplest thing may be to just have each node be able to return the factory for itself and then ask that factory to create the clone?

> implementing DOM on AXIOM
> -------------------------
>
>          Key: AXIS2-49
>          URL: http://issues.apache.org/jira/browse/AXIS2-49
>      Project: Apache Axis 2.0 (Axis2)
>         Type: New Feature
>   Components: om
>     Reporter: Srinath Perera
>     Assignee: Ruchith Udayanga Fernando
>     Priority: Minor

>
> this needed for the SAAJ and WS-Security support. we need the samples and docs 

-- 
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-49) implementing DOM on AXIOM

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

Eran Chinthaka commented on AXIS2-49:
-------------------------------------

Ruchith, I think you are done with this with DOOM. So I hope we are in a position to resolve this. If yes, can Ruchith please close this. Thanks.

> implementing DOM on AXIOM
> -------------------------
>
>          Key: AXIS2-49
>          URL: http://issues.apache.org/jira/browse/AXIS2-49
>      Project: Apache Axis 2.0 (Axis2)
>         Type: New Feature
>   Components: om
>     Reporter: Srinath Perera
>     Assignee: Ruchith Udayanga Fernando
>     Priority: Minor

>
> this needed for the SAAJ and WS-Security support. we need the samples and docs 

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


Re: [jira] Resolved: (AXIS2-49) implementing DOM on AXIOM

Posted by Sanjiva Weerawarana <sa...@opensource.lk>.
On Tue, 2005-12-13 at 18:53 +0100, Ruchith Udayanga Fernando (JIRA)
wrote:
>      [ http://issues.apache.org/jira/browse/AXIS2-49?page=all ]
>      
> Ruchith Udayanga Fernando resolved AXIS2-49:
> --------------------------------------------
> 
>     Fix Version: 0.94
>      Resolution: Fixed
> 
> DOOM = (DOM+OM) implements the DOM interfaces required to process SOAP. 
> It is tested with all the WS-Security test cases available in the integration maven module.

WOW! Congratulations on getting it done!!

Sanjiva.



[jira] Resolved: (AXIS2-49) implementing DOM on AXIOM

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

    Fix Version: 0.94
     Resolution: Fixed

DOOM = (DOM+OM) implements the DOM interfaces required to process SOAP. 
It is tested with all the WS-Security test cases available in the integration maven module.

> implementing DOM on AXIOM
> -------------------------
>
>          Key: AXIS2-49
>          URL: http://issues.apache.org/jira/browse/AXIS2-49
>      Project: Apache Axis 2.0 (Axis2)
>         Type: New Feature
>   Components: om
>     Reporter: Srinath Perera
>     Assignee: Ruchith Udayanga Fernando
>     Priority: Minor
>      Fix For: 0.94

>
> this needed for the SAAJ and WS-Security support. we need the samples and docs 

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