Return-Path: Delivered-To: apmail-incubator-cxf-issues-archive@locus.apache.org Received: (qmail 95814 invoked from network); 2 Nov 2007 14:13:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Nov 2007 14:13:22 -0000 Received: (qmail 78729 invoked by uid 500); 2 Nov 2007 14:13:10 -0000 Delivered-To: apmail-incubator-cxf-issues-archive@incubator.apache.org Received: (qmail 78716 invoked by uid 500); 2 Nov 2007 14:13:10 -0000 Mailing-List: contact cxf-issues-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cxf-dev@incubator.apache.org Delivered-To: mailing list cxf-issues@incubator.apache.org Received: (qmail 78707 invoked by uid 99); 2 Nov 2007 14:13:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Nov 2007 07:13:10 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Nov 2007 14:13:11 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id CF3A7714204 for ; Fri, 2 Nov 2007 07:12:50 -0700 (PDT) Message-ID: <11505165.1194012770846.JavaMail.jira@brutus> Date: Fri, 2 Nov 2007 07:12:50 -0700 (PDT) From: "Daniel Kulp (JIRA)" To: cxf-issues@incubator.apache.org Subject: [jira] Resolved: (CXF-1136) Custom exception not appearing in SOAP fault response In-Reply-To: <28711152.1193307770662.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CXF-1136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Daniel Kulp resolved CXF-1136. ------------------------------ Resolution: Fixed Fix Version/s: 2.0.3 Used your CustomException.java as a test case. Passes now with JAXB. > Custom exception not appearing in SOAP fault response > ----------------------------------------------------- > > Key: CXF-1136 > URL: https://issues.apache.org/jira/browse/CXF-1136 > Project: CXF > Issue Type: Bug > Affects Versions: 2.0.2 > Environment: WIndows XP > Java SDK 1.5_0_12 > Reporter: ed p > Assignee: Daniel Kulp > Priority: Critical > Fix For: 2.0.3 > > Attachments: helloWorld.wsdl, helloworld.xsd, helloworld_glassfishmetro.wsdl, java_first_jaxws.zip, wsit-jaxws-fromjava.zip > > > I modified the apache-cxf-2.0.2-incubator\samples\java_first_jaxws web service to throw a custom exception and a custom request and response object like so: > public interface HelloWorld { > Response sayHi(Request text) throws CustomException; > } > CustomException is a CustomExceptionBase with two string properties. CustomExceptionBase is a java.lang.Exception > The CustomException appears in the WSDL but the CustomExceptionBase is missing. When the service is invoked and throws a CustomException the soap response is: > > > > soap:Server > custom error > > > > I am expecting to see the CustomException serialized in the Envelope/Body/Fault/detail node. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.