Return-Path: Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: (qmail 6389 invoked from network); 1 Feb 2011 15:29:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Feb 2011 15:29:23 -0000 Received: (qmail 33990 invoked by uid 500); 1 Feb 2011 15:29:23 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 33917 invoked by uid 500); 1 Feb 2011 15:29:20 -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 33904 invoked by uid 99); 1 Feb 2011 15:29:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Feb 2011 15:29:19 +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, 01 Feb 2011 15:29:19 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 43BDC187478 for ; Tue, 1 Feb 2011 15:28:29 +0000 (UTC) Date: Tue, 1 Feb 2011 15:28:29 +0000 (UTC) From: "Reimer Prochnow (JIRA)" To: issues@cxf.apache.org Message-ID: <1510103854.2812.1296574109274.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <24435742.212121296037484225.JavaMail.jira@thor> Subject: [jira] Reopened: (CXF-3290) wsdl2java fails to generate working client code if web service and portType have the same name 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-3290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Reimer Prochnow reopened CXF-3290: ---------------------------------- > wsdl2java fails to generate working client code if web service and portType have the same name > ---------------------------------------------------------------------------------------------- > > Key: CXF-3290 > URL: https://issues.apache.org/jira/browse/CXF-3290 > Project: CXF > Issue Type: Bug > Components: Tooling > Affects Versions: 2.3.2 > Reporter: Reimer Prochnow > Priority: Minor > Attachments: MyBugService.java, bug.wsdl, bug2.wsdl > > > A Naming Problem similar to #CXF-1979: > if your wsdls define: > > wsdl2java generates > public class CallManagement extends Service { > but this class imports a Class CallManagement from the namespace defined in the portType. > this leads to a compiler error (Line is the import statement) > "CallManagement is already defined in this compilation unit" > so the problem is: > package bar; > import foo.Bar; > public class Bar { > can be avoided only with full qualified references to foo.Bar without the import. -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira