wsdl2java tool generates client stub which always uses default (JAXB)
databinding while another one style is specified in the command line (-db
argument)
---------------------------------------------------------------------------------------------------------------------------------------------------------
Key: CXF-2429
URL: https://issues.apache.org/jira/browse/CXF-2429
Project: CXF
Issue Type: Bug
Components: Tooling
Affects Versions: 2.2.3, 2.1.6
Environment: the issue is not environment related
Reporter: Michael Klimiuk
SCENARIO:
The following ant task is executed to generate client artifacts:
<java classname="org.apache.cxf.tools.wsdlto.WSDLToJava" fork="true">
<arg value="-client" />
<arg value="-db" />
<arg value="xmlbeans" />
<arg value="-d" />
<arg value="${gen.dir}" />
<arg value="${wsdl.file}" />
<classpath>
<path refid="ws.classpath" />
</classpath>
</java>
ACTUAL RESULT:
Generated class XXXService.java uses default databinding style (JAXB) for
creation of a service client while the XmlBeans style is specified.
Furthermore, the databinding style cannot even be changed programmatically
using available interfaces.
EXPECTED RESULT:
Generated class XXXService.java must use the specified databinding style for
creation of a service client.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.