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 5B5FFD5A5 for ; Wed, 24 Oct 2012 21:54:12 +0000 (UTC) Received: (qmail 17242 invoked by uid 500); 24 Oct 2012 21:54:12 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 17143 invoked by uid 500); 24 Oct 2012 21:54:12 -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 17133 invoked by uid 99); 24 Oct 2012 21:54:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Oct 2012 21:54:12 +0000 Date: Wed, 24 Oct 2012 21:54:12 +0000 (UTC) From: "Aki Yoshida (JIRA)" To: issues@cxf.apache.org Message-ID: <1771748022.24431.1351115652233.JavaMail.jiratomcat@arcas> In-Reply-To: <520265370.22588.1351097532509.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (CXF-4600) Exception inheritance not working over SOAP protocol 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-4600?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13483630#comment-13483630 ] Aki Yoshida commented on CXF-4600: ---------------------------------- i think you can transfer the values if you annotate the exception class. e.g. @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "message", "description", "code" }) @XmlRootElement(name = "faultDetail") public class AbstractException extends Exception { ... with your original non-annotated class, your serialized fault looks like this: soap:Server exception message so there are no attribute values transferred. with the above annotated exception, your serialized fault looks like this: soap:Server exception message exception message exception description 500 and the attribute values are transferred to the client. does this solve your problem? regards, aki > Exception inheritance not working over SOAP protocol > ---------------------------------------------------- > > Key: CXF-4600 > URL: https://issues.apache.org/jira/browse/CXF-4600 > Project: CXF > Issue Type: Bug > Components: JAXB Databinding > Affects Versions: 2.4.10, 2.5.6, 2.6.3, 2.7.0 > Reporter: Richard Opalka > Fix For: 2.4.11, 2.5.7, 2.6.4, 2.7.1 > > Attachments: CXF-4600-reproducer.zip > > > If method parameter or return type are subject to object inheritance, > passing such complex classes works without any problems over SOAP. > But when exception is subject to object inheritance, the inheritance > is unfunctional over SOAP protocol. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira