W3C home > Mailing lists > Public > public-xsd-databinding@w3.org > June 2006

RE: ISSUE-9 union basic pattern

From: <jon.calladine@bt.com>
Date: Tue, 6 Jun 2006 14:42:31 +0100
Message-ID: <657E2B34242ACC46BDD6774A9728F9E3580B2F@E03MVZ3-UKDY.domain1.systemhost.net>
To: <public-xsd-databinding@w3.org>

> 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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 18 December 2010 18:20:37 GMT