RE: ISSUE-9 union basic pattern

> Wrt the 'union' basic pattern the following is experienced using a
> popular tool.
> 
> wsdl2java -uri
> http://10.241.52.174/WWW/2002/ws/databinding/patterns/6/
> 05/Union/ElementBasicUnionMeeting.wsdl -ss -ssi -o c:\temp\java\Union
> -s
> Using AXIS2_HOME:   C:\tungsten\tungsten-1.0\bin\..
> Using JAVA_HOME:    D:\Java\jdk1.5.0_07
> Exception in thread "main"
> org.apache.axis2.wsdl.codegen.CodeGenerationException:
> java.lang.RuntimeE
> xception: org.apache.axis2.schema.SchemaCompilationException:
> Unsupported content Simple Type Uniont
>  !
>         at
> org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenera
> tionEngine.java:185
> )
>         at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)
>         at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)
> Caused by: java.lang.RuntimeException:
> org.apache.axis2.schema.SchemaCompilationException: Unsupport
> ed content Simple Type Uniont !
>         at
> org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(Simpl
> eDBExtension.java:1
> 17)
>         at
> org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenera
> tionEngine.java:140
> )
>         ... 2 more
> Caused by: org.apache.axis2.schema.SchemaCompilationException:
> Unsupported content Simple Type Union
> t !
>         at
> org.apache.axis2.schema.SchemaCompiler.processSimpleSchemaType(SchemaC
> ompiler.java:1102)
>         at
> org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.ja
> va:613)
>         at
> org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.j
> ava:376)
>         at
> org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.j
> ava:354)
>         at
> org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:237
> )
>         at
> org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:187
> )
>         at
> org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(Simpl
> eDBExtension.java:7
> 0)
>         ... 3 more
> 
> http://10.241.52.174/WWW/2002/ws/databinding/patterns/6/05/Union/Eleme
> ntBasicUnionMeeting.wsdl

Received on Tuesday, 6 June 2006 13:42:46 UTC