Return-Path: Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: (qmail 31642 invoked from network); 21 May 2009 21:35:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 21 May 2009 21:35:55 -0000 Received: (qmail 39880 invoked by uid 500); 21 May 2009 21:36:08 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 39866 invoked by uid 500); 21 May 2009 21:36:08 -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 39800 invoked by uid 99); 21 May 2009 21:36:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 May 2009 21:36:07 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 May 2009 21:36:05 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 8F5D4234C004 for ; Thu, 21 May 2009 14:35:45 -0700 (PDT) Message-ID: <1515240659.1242941745582.JavaMail.jira@brutus> Date: Thu, 21 May 2009 14:35:45 -0700 (PDT) From: "CXFUser (JIRA)" To: issues@cxf.apache.org Subject: [jira] Updated: (CXF-2232) CXF wsdltojava client generation fails to generated the service with targetnamespace In-Reply-To: <945348163.1242941625652.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CXF-2232?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] CXFUser updated CXF-2232: ------------------------- Summary: CXF wsdltojava client generation fails to generated the service with targetnamespace (was: CXF client generation fails to generated the service with targetnamespace) > CXF wsdltojava client generation fails to generated the service with targetnamespace > ------------------------------------------------------------------------------------ > > Key: CXF-2232 > URL: https://issues.apache.org/jira/browse/CXF-2232 > Project: CXF > Issue Type: Bug > Environment: Java based webservice application with CXF 2.2.1 > Reporter: CXFUser > > Sample Java Code > package com.test > public enum Status { > OPEN, > CLOSED, > } > package com.test > public class ServiceRequest{ > public Collection getStatus(); > } > package com.service > @WebService(name="TestService ", > serviceName="TestService ", > portName="TestServicePort") > public interface TestService { > public void getAllServiceRequest(); > } > When i run the wsdl to java for CXF . The generated stub for TestService has the targetnamespace to be empty string. This happens with CXF 2.2.1 and CXF 2.1.4 . Also when i change getStatus() on ServiceRequest to have Collection then client generated code looks fine. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.