cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "maomaode (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CXF-1200) wsdltojava accepts targetnamespace with ':' in the name but generate code that does not compile
Date Mon, 03 Dec 2007 04:50:43 GMT

    [ 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.


Mime
View raw message