You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Bozhong Lin (JIRA)" <ji...@apache.org> on 2007/03/21 08:03:32 UTC

[jira] Assigned: (CXF-447) The java2wsdl tool generated wrong namespace for datatypes

     [ https://issues.apache.org/jira/browse/CXF-447?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bozhong Lin reassigned CXF-447:
-------------------------------

    Assignee: maomaode

> The java2wsdl tool generated wrong namespace for datatypes
> ----------------------------------------------------------
>
>                 Key: CXF-447
>                 URL: https://issues.apache.org/jira/browse/CXF-447
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-WS Runtime
>    Affects Versions: 2.0-RC
>            Reporter: Johnson Ma
>         Assigned To: maomaode
>             Fix For: 2.0-RC
>
>
> @WebService(wsdlLocation = "file:/C:/projects/stp/workspace/runtime-New_configuration(2)/JavaFirstTest0305/wsdl/com/iona/HelloWorld.wsdl", targetNamespace = "http://iona.com/", name = "HelloWorld")
> public interface HelloWorld {
> 	@WebMethod(operationName = "sayHi")
>     public void sayHi(
>         java.lang.Float f1,
>         java.lang.Float f2
>     );
> }
> Since we do not define @RequestWrapper.className, so the JAXB class used by java2wsdl will be 'com.iona.jaxws.SayHi'
> However, if we call the wsdl2java on the generated wsdl, it will generate type class 'com.iona.SayHi'
> The reason is:
> from  the spec, the default jaxb class is packagename+jaxws+methodName.
> But in the generated wsdl, schema namespace is 'com.iona' , which should be set to 'com.iona.jaxws'

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.