Hi
Can you please help in resolving the following problem. I am trying to do the
XSD compiling through the castor Source Generator.
I am getting this following error while generating the java files from the XSDs.
Creating classes for element: GetOrderListResponse
java.lang.IllegalArgumentException: duplicate name found: _type
at org.exolab.javasource.JClass.addField(JClass.java:242)
at
org.exolab.castor.builder.FieldInfo.createJavaField(FieldInfo.java:155)
at
org.exolab.castor.builder.SourceFactory.handleField(SourceFactory.java:1446)
at
org.exolab.castor.builder.SourceFactory.processContentModel(SourceFactory.java:1536)
at
org.exolab.castor.builder.SourceFactory.processContentModel(SourceFactory.java:1571)
at
org.exolab.castor.builder.SourceFactory.processComplexType(SourceFactory.java:1347)
at
org.exolab.castor.builder.SourceFactory.createSourceCode(SourceFactory.java:249)
at
org.exolab.castor.builder.SourceFactory.processContentModel(SourceFactory.java:1529)
at
org.exolab.castor.builder.SourceFactory.processContentModel(SourceFactory.java:1571)
at
org.exolab.castor.builder.SourceFactory.processComplexType(SourceFactory.java:1347)
at
org.exolab.castor.builder.SourceFactory.createSourceCode(SourceFactory.java:249)
at
org.exolab.castor.builder.SourceFactory.processContentModel(SourceFactory.java:1529)
at
org.exolab.castor.builder.SourceFactory.processContentModel(SourceFactory.java:1571)
at
org.exolab.castor.builder.SourceFactory.processComplexType(SourceFactory.java:1347)
at
org.exolab.castor.builder.SourceFactory.createSourceCode(SourceFactory.java:249)
at
org.exolab.castor.builder.SourceFactory.processContentModel(SourceFactory.java:1529)
at
org.exolab.castor.builder.SourceFactory.processContentModel(SourceFactory.java:1571)
at
org.exolab.castor.builder.SourceFactory.processComplexType(SourceFactory.java:1347)
at
org.exolab.castor.builder.SourceFactory.createSourceCode(SourceFactory.java:249)
at
org.exolab.castor.builder.SourceGenerator.createClasses(SourceGenerator.java:809)
at
org.exolab.castor.builder.SourceGenerator.createClasses(SourceGenerator.java:743)
at
org.exolab.castor.builder.SourceGenerator.generateSource(SourceGenerator.java:361)
at
org.exolab.castor.builder.SourceGenerator.generateSource(SourceGenerator.java:419)
at
org.exolab.castor.builder.SourceGenerator.generateSource(SourceGenerator.java:448)
at
org.exolab.castor.builder.SourceGenerator.main(SourceGenerator.java:683)
Thanks,
Uma
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev