You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Akitoshi Yoshida (JIRA)" <ji...@apache.org> on 2014/12/23 23:22:15 UTC
[jira] [Resolved] (CXF-6127) Check thrown Exception's cause for
SOAPFaultException
[ https://issues.apache.org/jira/browse/CXF-6127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Akitoshi Yoshida resolved CXF-6127.
-----------------------------------
Resolution: Fixed
Fix Version/s: 3.1.0
2.7.15
3.0.4
applied Kyle's patch.
thanks
> Check thrown Exception's cause for SOAPFaultException
> -----------------------------------------------------
>
> Key: CXF-6127
> URL: https://issues.apache.org/jira/browse/CXF-6127
> Project: CXF
> Issue Type: Bug
> Components: JAX-WS Runtime
> Reporter: Kyle Lape
> Assignee: Akitoshi Yoshida
> Fix For: 3.0.4, 2.7.15, 3.1.0
>
>
> Section 10.2.2.3 of JAX-WS 2.2 spec has a footnote that says:
> bq. If the exception is a SOAPFaultException or has a cause that is a SOAPFaultException.
> Currently CXF only checks if the thrown exception is of the exact type (i.e. not a subtype of) {{SOAPFaultException}}. We need to check all causes and may as well use {{instanceof}} rather than {{ex.getClass().equals(SOAPFaultException.class)}} in {{WebFaultOutInterceptor}}.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)