Generating java from WSDL fails with error inside of WSDL parsing.
------------------------------------------------------------------
Key: XFIRE-811
URL: http://jira.codehaus.org/browse/XFIRE-811
Project: XFire
Issue Type: Bug
Components: Generator
Affects Versions: 1.2.3
Environment: Should be a platform-neutral issue.
Reporter: benson margulies
Assigned To: Dan Diephouse
Attachments: RosetteNameMatcherIndex.wsdl
The attached WSDL produces the following stack trace when I attempt to generate
Java from it.
This report replaces XFIRE-810, which was a garbled attempt to report the same
thing.
None of the enumerations in this WSDL have a value of ´qualified´. They do have
element form=qualified.
tyan-spaceheater64% Dec 19, 2006 10:01:56 AM
org.codehaus.xfire.gen.Wsdl11Generator generate
INFO: Generating code for WSDL at
file:/home/benson/x/rlp53/rnm/source/wsmod_index/RosetteNameMatcherIndex.wsdl
with a base URI of
file:/home/benson/x/rlp53/rnm/source/wsmod_index/RosetteNameMatcherIndex.wsdl
org.apache.ws.commons.schema.constants.Enum$EnumValueException: Bad Enumeration
value 'qualifed'
at org.apache.ws.commons.schema.constants.Enum.setValue(Enum.java:46)
at org.apache.ws.commons.schema.constants.Enum.<init>(Enum.java:24)
at org.apache.ws.commons.schema.XmlSchemaForm.<init>(XmlSchemaForm.java:41)
at
org.apache.ws.commons.schema.SchemaBuilder.getFormDefault(SchemaBuilder.java:1876)
at
org.apache.ws.commons.schema.SchemaBuilder.handleXmlSchemaElement(SchemaBuilder.java:70)
at
org.apache.ws.commons.schema.XmlSchemaCollection.read(XmlSchemaCollection.java:273)
at
org.codehaus.xfire.wsdl11.parser.WSDLServiceBuilder.visit(WSDLServiceBuilder.java:351)
at
org.codehaus.xfire.wsdl11.parser.WSDLServiceBuilder.build(WSDLServiceBuilder.java:180)
at org.codehaus.xfire.gen.Wsdl11Generator.generate(Wsdl11Generator.java:102)
at
org.codehaus.xfire.eclipse.core.XFireCoreUtil.generateSourceFromWSDL(XFireCoreUtil.java:65)
at
org.codehaus.xfire.eclipse.ui.wizards.WSDL2CodeGeneratorWizard.doFinish(WSDL2CodeGeneratorWizard.java:60)
at
org.codehaus.xfire.eclipse.ui.wizards.WSDL2CodeGeneratorWizard.access$0(WSDL2CodeGeneratorWizard.java:35)
at
org.codehaus.xfire.eclipse.ui.wizards.WSDL2CodeGeneratorWizard$1.run(WSDL2CodeGeneratorWizard.java:88)
at
org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email