Hi all, When the "-frontend jaxws21" is passed to wsdl2java tool, it doesn't work and there is error from jaxb xjc: .
*/wsdl2java -verbose TestService.wsdlLoading FrontEnd jaxws ...Loading DataBinding jaxb ...wsdl2java -verbose TestService.wsdlwsdl2java - Apache CXF 4.0.4-SNAPSHOT-c429d51aa11b667a0a55d78e6f894eba246569dbCaused by: com.sun.tools.xjc.BadCommandLineException: "2.1" is not a valid target version. "3.0" is supported. at com.sun.tools.xjc.Options.parseArgument(Options.java:617) at com.sun.tools.xjc.Options.parseArguments(Options.java:853) at org.apache.cxf.tools.wsdlto.databinding.jaxb.JAXBDataBinding.initialize(JAXBDataBinding.java:410)* I looked at the wsdl2java code and it turns out the CXF created xjc arguments "-target 2.1" for jaxws21 frontend [1],but the jaxb runtime 3.0.2 only supports the target 2.3 and higher version[2]. Does this means we actually can't get jaxws21 frontend work ? As jaxws21 is quite old , should we remove this xjc flag and make this jaxws21 frontend deprecated in the next release and finally remove this flag in the major version ? Does anyone have any concern about this change ? [1] https://github.com/apache/cxf/blob/main/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/JAXWS21Container.java#L44-L45 [2] https://github.com/eclipse-ee4j/jaxb-ri/blob/3.0.2-RI/jaxb-ri/xjc/src/main/java/com/sun/tools/xjc/api/SpecVersion.java#L19 Thanks, Jim