cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jim Ma (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-5273) Filter the interceptor according to Phase instead of class name in WSDLGetInterceptor
Date Fri, 13 Sep 2013 09:25:56 GMT

    [ https://issues.apache.org/jira/browse/CXF-5273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13766353#comment-13766353
] 

Jim Ma commented on CXF-5273:
-----------------------------

This change will add some interceptor chain like FIStaxOutInterceptor when FastInfoset feature
is enable, it will make the retrieved wsdl unreadable. Willem, can you please have a look
?
                
> Filter the interceptor according to Phase instead of class name in WSDLGetInterceptor
> -------------------------------------------------------------------------------------
>
>                 Key: CXF-5273
>                 URL: https://issues.apache.org/jira/browse/CXF-5273
>             Project: CXF
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Willem Jiang
>            Assignee: Willem Jiang
>             Fix For: 3.0.0, 2.6.10, 2.7.7
>
>
> Current WSDLGetInterceptor build up the out message interceptor chain like this
> {code}
> Iterator<Interceptor<? extends Message>> iterator = mout.getInterceptorChain().iterator();
>             while (iterator.hasNext()) {
>                 Interceptor<? extends Message> inInterceptor = iterator.next();
>                 if (!inInterceptor.getClass().equals(StaxOutInterceptor.class)
>                     && !inInterceptor.getClass().equals(GZIPOutInterceptor.class)
>                     && !inInterceptor.getClass().equals(MessageSenderInterceptor.class))
{
>                     mout.getInterceptorChain().remove(inInterceptor);
>                 }
>             }
> {code}
> It causes some troubles when users use some customer interceptors.
>  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message