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

maomaode commented on CXF-447:
------------------------------

there is a bug in runtime

The codegen did right, according to the spec, in the absence of wrapper 
annotation, the bean class should be generated under the jaxws subpackage of 
the SEI package, the runtime should also load the bean class from the jaxws 
subpackage.

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

Reply via email to