Return-Path: Delivered-To: apmail-incubator-cxf-issues-archive@locus.apache.org Received: (qmail 83292 invoked from network); 3 Dec 2007 04:51:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Dec 2007 04:51:04 -0000 Received: (qmail 79123 invoked by uid 500); 3 Dec 2007 04:50:52 -0000 Delivered-To: apmail-incubator-cxf-issues-archive@incubator.apache.org Received: (qmail 79106 invoked by uid 500); 3 Dec 2007 04:50:52 -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 79097 invoked by uid 99); 3 Dec 2007 04:50:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Dec 2007 20:50:52 -0800 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; Mon, 03 Dec 2007 04:50:40 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 3383B7141EB for ; Sun, 2 Dec 2007 20:50:43 -0800 (PST) Message-ID: <15472240.1196657443208.JavaMail.jira@brutus> Date: Sun, 2 Dec 2007 20:50:43 -0800 (PST) From: "maomaode (JIRA)" To: cxf-issues@incubator.apache.org Subject: [jira] Commented: (CXF-1200) wsdltojava accepts targetnamespace with ':' in the name but generate code that does not compile In-Reply-To: <1651372.1194857810750.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-1200?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12547727 ] maomaode commented on CXF-1200: ------------------------------- I'm really confused after I re-investigate the issue against with cxf 2.0.2 If TNS contains ":", http://apache.org/hello_world_soap_http/cxf:types it actually generate the package like that org/apache/hello_world_soap_http/tns/types/, and compile is total OK If TNS contains "#", http://apache.org/hello_world_soap_http/iona#soap it actually generate the package like that: korg/apache/hello_world_soap_http/iona_soap/ So, I'm wondering, if this is actually a valid issue!? Probably I'm using a wrong testcase. Can you please provide a testcase > wsdltojava accepts targetnamespace with ':' in the name but generate code that does not compile > ----------------------------------------------------------------------------------------------- > > Key: CXF-1200 > URL: https://issues.apache.org/jira/browse/CXF-1200 > Project: CXF > Issue Type: Bug > Components: Tooling > Affects Versions: 2.0.2 > Reporter: maomaode > Assignee: maomaode > Fix For: 2.0.4 > > > When using following target namespace with ':' in it ("targetNamespace of http://blahblah:8080/nasoap/services/urn:nasoap-server2), the generated code by "wsdltojava" will contain a java package name with ':' on it, which will fail at compilation. > "The reason I am saying it is a bug is that schemavalidator does not complain about it, even if it is an invalid URL format. > Even wsdltojava does not complain, but generates uncompilable code. > So I think the fix should be put in schemavalidator to flag this as an error. " -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.