Skip to content

Instantly share code, notes, and snippets.

@bobmcwhirter
Created January 13, 2009 18:12
Show Gist options
  • Save bobmcwhirter/46544 to your computer and use it in GitHub Desktop.
Save bobmcwhirter/46544 to your computer and use it in GitHub Desktop.
[bob@philbert jboss-haze]$ ./apache-cxf-2.1.3/bin/wsdl2java -p org.jboss.haze -d target/ -server -verbose ec2.wsdl
Loading FrontEnd jaxws ...
Loading DataBinding jaxb ...
wsdl2java -p org.jboss.haze -d target/ -server -verbose ec2.wsdl
wsdl2java - Apache CXF 2.1.3
WSDLToJava Error: Element {http://ec2.amazonaws.com/doc/2008-12-01/}instancesSet has Having the same name with different types[{http://ec2.amazonaws.com/doc/2008-12-01/}TerminateInstancesInfoType -- {http://ec2.amazonaws.com/doc/2008-12-01/}TerminateInstancesResponseInfoType], In wrapper style, there is a collision as per the spec.
org.apache.cxf.tools.common.ToolException: Element {http://ec2.amazonaws.com/doc/2008-12-01/}instancesSet has Having the same name with different types[{http://ec2.amazonaws.com/doc/2008-12-01/}TerminateInstancesInfoType -- {http://ec2.amazonaws.com/doc/2008-12-01/}TerminateInstancesResponseInfoType], In wrapper style, there is a collision as per the spec.
at org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.validate(WSDLToJavaContainer.java:548)
at org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute(WSDLToJavaContainer.java:193)
at org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute(WSDLToJavaContainer.java:232)
at org.apache.cxf.tools.common.toolspec.ToolRunner.runTool(ToolRunner.java:83)
at org.apache.cxf.tools.wsdlto.WSDLToJava.run(WSDLToJava.java:103)
at org.apache.cxf.tools.wsdlto.WSDLToJava.main(WSDLToJava.java:173)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment