[ https://issues.apache.org/jira/browse/CXF-6127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14242857#comment-14242857 ]
ASF GitHub Bot commented on CXF-6127: ------------------------------------- Github user kylape commented on the pull request: https://github.com/apache/cxf/pull/34#issuecomment-66661336 No issues with those suggestions. I just need to get around to working on it. > Check entire cause chain 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 > > 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)