[
https://issues.apache.org/jira/browse/CXF-9147?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Freeman Yue Fang reassigned CXF-9147:
-------------------------------------
Assignee: Freeman Yue Fang
> WSDL to Java: Missing namespace since 4.1.*
> -------------------------------------------
>
> Key: CXF-9147
> URL: https://issues.apache.org/jira/browse/CXF-9147
> Project: CXF
> Issue Type: Bug
> Affects Versions: 4.1.0, 4.1.1, 4.1.2
> Reporter: Manuel K
> Assignee: Freeman Yue Fang
> Priority: Major
> Attachments: wsdl2java-bug.zip
>
>
> After upgrading to CXF 4.1.*, WSDLToJava is not generating a specific
> namespace attribute when generating client classes from a Microsoft WCF WSDL.
> This leads to errors when calling the web service.
> 4.0.* and prior:
> {code:java}
> @XmlAccessorType(XmlAccessType.FIELD)
> @XmlType(name = "ArrayOfPermissionSet", namespace =
> "http://NTFS/Data/PermissionSet", propOrder = {
> "permissionSet"
> })
> public class ArrayOfPermissionSet { {code}
> 4.1.*:
> {code:java}
> @XmlAccessorType(XmlAccessType.FIELD)
> @XmlType(name = "ArrayOfPermissionSet", propOrder = {
> "permissionSet"
> })
> public class ArrayOfPermissionSet { {code}
> I attached a reproducer with Windows batch files. Please edit the batch files
> to point to your local Java and CXF directories. After generating the client
> classes, inspect and compare the
> _src\wsclient\msia\ntfs\data\ArrayOfPermissionSet.java_ file.
> If you need any additional info, please let me know. Thank you very much in
> advance!
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)