[
https://issues.apache.org/jira/browse/CXF-2259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12717325#action_12717325
]
Daniel Kulp commented on CXF-2259:
----------------------------------
With 2.1.4, I get the same error:
dk...@dilbert /tmp/apache-cxf-2.1.4/bin $ ./wsdl2java -d gen
/tmp/2009-04-04.ec2.wsdl
WSDLToJava Error: Element
{http://ec2.amazonaws.com/doc/2009-04-04/}reservedInstancesOfferingsSet has
Having the same name with different
types[{http://ec2.amazonaws.com/doc/2009-04-04/}DescribeReservedInstancesOfferingsSetType
--
{http://ec2.amazonaws.com/doc/2009-04-04/}DescribeReservedInstancesOfferingsResponseSetType],
In wrapper style, there is a collision as per the spec.
> 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.1.5, 2.2.1, 2.2.2
> 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.