Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1177704

Summary: [GSS] (6.4.z) CXF-6127 - Check thrown Exception's cause for SOAPFaultException
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Kyle Lape <klape>
Component: Web ServicesAssignee: Alessio Soldano <asoldano>
Status: CLOSED CURRENTRELEASE QA Contact: Rostislav Svoboda <rsvoboda>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.3.0CC: bbaranow, cdewolf, chaowan, jawilson, jbliznak, thofman
Target Milestone: CR1   
Target Release: EAP 6.4.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-17 10:12:32 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1177705, 1219165, 1231867    

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.