Return-Path: X-Original-To: apmail-cxf-issues-archive@www.apache.org Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B815D994B for ; Tue, 23 Dec 2014 22:21:13 +0000 (UTC) Received: (qmail 44496 invoked by uid 500); 23 Dec 2014 22:21:13 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 44450 invoked by uid 500); 23 Dec 2014 22:21:13 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 44434 invoked by uid 99); 23 Dec 2014 22:21:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Dec 2014 22:21:13 +0000 Date: Tue, 23 Dec 2014 22:21:13 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@cxf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CXF-6127) Check thrown Exception's cause for SOAPFaultException MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CXF-6127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14257605#comment-14257605 ] ASF GitHub Bot commented on CXF-6127: ------------------------------------- Github user elakito commented on the pull request: https://github.com/apache/cxf/pull/34#issuecomment-68005017 applied this 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 > > 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)