You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Manuel K (Jira)" <ji...@apache.org> on 2026/05/07 06:21:00 UTC
[jira] [Commented] (CXF-9147) WSDL to Java: Missing namespace since 4.1.*
[ https://issues.apache.org/jira/browse/CXF-9147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18078845#comment-18078845 ]
Manuel K commented on CXF-9147:
-------------------------------
Do you have a status update for this bug? It blocks us from ever updating CXF to a current version.
Thanks in advance!
> 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)