Bug 1177704 - [GSS] (6.4.z) CXF-6127 - Check thrown Exception's cause for SOAPFaultException
Summary: [GSS] (6.4.z) CXF-6127 - Check thrown Exception's cause for SOAPFaultException
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Web Services
Version: 6.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: CR1
: EAP 6.4.2
Assignee: Alessio Soldano
QA Contact: Rostislav Svoboda
URL:
Whiteboard:
Depends On:
Blocks: 1177705 1219165 1231867
TreeView+ depends on / blocked
 
Reported: 2014-12-30 00:39 UTC by Kyle Lape
Modified: 2019-02-15 13:58 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-01-17 10:12:32 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Apache JIRA CXF-6127 0 None None None Never

Description Kyle Lape 2014-12-30 00:39:13 UTC
Section 10.2.2.3 of JAX-WS 2.2 spec has a footnote that says:

> 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 the cause and may as well use instanceof rather than ex.getClass().equals(SOAPFaultException.class) in WebFaultOutInterceptor.

Comment 1 Kyle Lape 2014-12-30 00:46:24 UTC
Upstream commit ID to 2.7.x branch: cd473b33aad8989c97d6e2b7bc90dea8ff56d692

Should be included in CXF 2.7.15.

Comment 5 Rostislav Svoboda 2015-04-29 11:31:58 UTC
Going to qa_ack to include it in CP01.

Comment 8 Jan Blizňák 2015-06-23 12:42:43 UTC
Verified with 6.4.2.CP.CR1

Comment 9 Petr Penicka 2017-01-17 10:12:32 UTC
Retroactively bulk-closing issues from released EAP 6.4 cumulative patches.


Note You need to log in before you can comment on or make changes to this bug.