You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Benson Margulies (JIRA)" <ji...@apache.org> on 2009/03/21 16:33:50 UTC

[jira] Created: (CXF-2125) SOAPHandlerInterceptorTest.java inconsistency

SOAPHandlerInterceptorTest.java inconsistency
---------------------------------------------

                 Key: CXF-2125
                 URL: https://issues.apache.org/jira/browse/CXF-2125
             Project: CXF
          Issue Type: Bug
    Affects Versions: 2.2.1
            Reporter: Benson Margulies
            Assignee: Daniel Kulp


In my current  environment, this test puts an XMLStreamReader on a message for content, but the interceptor goes looking for a DOM node, and fails to find one. This is probably my mistake in some horrifically indirect fashion, but I'm looking for help.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CXF-2125) SOAPHandlerInterceptorTest.java inconsistency

Posted by "Benson Margulies (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-2125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12688044#action_12688044 ] 

Benson Margulies commented on CXF-2125:
---------------------------------------

The code in the SAAJInInterceptor has clearly been busted in 2.2, but I don't know why I'm the unique victim.

In 2.1...

 Document node = (Document) message.getContent(Node.class);
            DOMSource source = new DOMSource(node);
            part.setContent(source);

In 2.2, it passes the node to StaxUtils, which get very unhappy if it is null.



> SOAPHandlerInterceptorTest.java inconsistency
> ---------------------------------------------
>
>                 Key: CXF-2125
>                 URL: https://issues.apache.org/jira/browse/CXF-2125
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.2.1
>            Reporter: Benson Margulies
>            Assignee: Daniel Kulp
>
> In my current  environment, this test puts an XMLStreamReader on a message for content, but the interceptor goes looking for a DOM node, and fails to find one. This is probably my mistake in some horrifically indirect fashion, but I'm looking for help.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CXF-2125) SOAPHandlerInterceptorTest.java inconsistency

Posted by "Benson Margulies (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-2125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12688039#action_12688039 ] 

Benson Margulies commented on CXF-2125:
---------------------------------------

SAAJInterceptor expects a DOM node. Who is supposed to put it there?


> SOAPHandlerInterceptorTest.java inconsistency
> ---------------------------------------------
>
>                 Key: CXF-2125
>                 URL: https://issues.apache.org/jira/browse/CXF-2125
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.2.1
>            Reporter: Benson Margulies
>            Assignee: Daniel Kulp
>
> In my current  environment, this test puts an XMLStreamReader on a message for content, but the interceptor goes looking for a DOM node, and fails to find one. This is probably my mistake in some horrifically indirect fashion, but I'm looking for help.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (CXF-2125) SOAPHandlerInterceptorTest.java inconsistency

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-2125?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp resolved CXF-2125.
------------------------------

    Resolution: Fixed
      Assignee: Benson Margulies  (was: Daniel Kulp)


The fix you made looks right.   

> SOAPHandlerInterceptorTest.java inconsistency
> ---------------------------------------------
>
>                 Key: CXF-2125
>                 URL: https://issues.apache.org/jira/browse/CXF-2125
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.2.1
>            Reporter: Benson Margulies
>            Assignee: Benson Margulies
>
> In my current  environment, this test puts an XMLStreamReader on a message for content, but the interceptor goes looking for a DOM node, and fails to find one. This is probably my mistake in some horrifically indirect fashion, but I'm looking for help.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CXF-2125) SOAPHandlerInterceptorTest.java inconsistency

Posted by "Benson Margulies (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-2125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12688045#action_12688045 ] 

Benson Margulies commented on CXF-2125:
---------------------------------------

I've checked in a fix, but I'm leaving this open for Dan to investigate if he likes it.


> SOAPHandlerInterceptorTest.java inconsistency
> ---------------------------------------------
>
>                 Key: CXF-2125
>                 URL: https://issues.apache.org/jira/browse/CXF-2125
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.2.1
>            Reporter: Benson Margulies
>            Assignee: Daniel Kulp
>
> In my current  environment, this test puts an XMLStreamReader on a message for content, but the interceptor goes looking for a DOM node, and fails to find one. This is probably my mistake in some horrifically indirect fashion, but I'm looking for help.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.