You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Diego Jarillo (JIRA)" <ji...@apache.org> on 2007/11/26 09:28:43 UTC
[jira] Commented: (CXF-1200) wsdltojava accepts targetnamespace
with ':' in the name but generate code that does not compile
[ https://issues.apache.org/jira/browse/CXF-1200?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12545357 ]
Diego Jarillo commented on CXF-1200:
------------------------------------
Using # in the target namespace alto it produces the same error.
> 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.