Return-Path: Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: (qmail 67699 invoked from network); 22 Feb 2011 01:42:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 22 Feb 2011 01:42:59 -0000 Received: (qmail 92487 invoked by uid 500); 22 Feb 2011 01:42:59 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 92450 invoked by uid 500); 22 Feb 2011 01:42:59 -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 92442 invoked by uid 99); 22 Feb 2011 01:42:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Feb 2011 01:42:59 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Feb 2011 01:42:58 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 708AD1B02AE for ; Tue, 22 Feb 2011 01:42:38 +0000 (UTC) Date: Tue, 22 Feb 2011 01:42:38 +0000 (UTC) From: "Freeman Fang (JIRA)" To: issues@cxf.apache.org Message-ID: <95168169.7212.1298338958457.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1305693892.7210.1298338838663.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Assigned: (CXF-3353) can't refer to java.lang.Exception in gererated fault code 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-3353?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Freeman Fang reassigned CXF-3353: --------------------------------- Assignee: Freeman Fang > can't refer to java.lang.Exception in gererated fault code > ---------------------------------------------------------- > > Key: CXF-3353 > URL: https://issues.apache.org/jira/browse/CXF-3353 > Project: CXF > Issue Type: Bug > Components: Tooling > Reporter: Freeman Fang > Assignee: Freeman Fang > > if wsdl and wsdl types are using same name namespace, also in the types we define a fault with name > > then generated code like > public class ServiceException extends Exception { > The exception here should be java.lang.Exception, > but the java compile consider it as inner faulttype org.apache.hello_world_soap_http_provider.Exception in the > same package, which cause compilation error. > We should always use java.lang.Exception in the generated code to avoid such error -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira