[
https://issues.apache.org/jira/browse/CXF-6127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14519380#comment-14519380
]
ASF GitHub Bot commented on CXF-6127:
-------------------------------------
GitHub user TomasHofman opened a pull request:
https://github.com/apache/cxf/pull/67
[CXF-6127] Check thrown Exception's cause for SOAPFaultException
- added a test case for CXF-6127
(This is to support our overloaded QE department.)
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/TomasHofman/cxf cxf-6127
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cxf/pull/67.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #67
----
commit 5644833ad5565065ed83510d641f3c1c20b6c0a1
Author: Tomas Hofman <[email protected]>
Date: 2015-04-29T13:48:09Z
[CXF-6127] Check thrown Exception's cause for SOAPFaultException
- added a test case
----
> 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)