[
https://issues.apache.org/jira/browse/CXF-447?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bozhong Lin updated CXF-447:
----------------------------
Fix Version/s: (was: 2.0-RC)
2.0
> 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
>
>
> @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.