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.