cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benson Margulies (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CXF-2125) SOAPHandlerInterceptorTest.java inconsistency
Date Sat, 21 Mar 2009 15:51:50 GMT

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


Mime
View raw message