Code generation results for version 2.1.4(ok) vs 2.1.5 and 2.2.x(exception)
differ
----------------------------------------------------------------------------------
Key: CXF-2259
URL: https://issues.apache.org/jira/browse/CXF-2259
Project: CXF
Issue Type: Bug
Components: JAXB Databinding
Affects Versions: 2.2.2, 2.2.1, 2.1.5
Environment: maven, cxf-codegen-plugin
Reporter: Gena Ganebnyi
Attachments: 2009-04-04.ec2.wsdl
When generating java code from amazon ec2 wsdl with cxf-codegen-plugin,
versions 2.1.5 and 2.2.x, generation fails with the following message:
Parameter: imagesSet already exists for method describeImages but of type
com.amazonaws.ec2.doc._2009_04_04.DescribeImagesInfoType instead of
com.amazonaws.ec2.doc._2009_04_04.DescribeImagesResponseInfoType. Use a
JAXWS/JAXB binding customization to rename the parameter.
Changing version to 2.1.4 solves this problem. Generated code is valid and
compiles successfully.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.