Hi all,
I'm upgrading from Axis2 0.93 to Axis2 0.94. I'm using wsdl2java with a wsdl
file that compiled using Axis2 0.93's wsdl2java.
I import an external xsd file on my wsdl file with the following code:
<xs:import
namespace="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
schemaLocation="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"/>
Axis2 0.94 returns the following exception when I import that external xsd.
Can somebody tell me why I get that exception?
Thank you in advance,
Ruben Naranjo
Retrieving schema at
'http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd',
relative to
'file:/home/rnaranjo/applications/axis2-std-0.94-bin/samples/wsdl/'.
Exception in thread "main"
org.apache.axis2.wsdl.codegen.CodeGenerationException:
java.lang.RuntimeException: org.apache.axis2.schema.SchemaCompilationException:
java.lang.RuntimeException: Unsupported content!
at
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:118)
at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:31)
at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)
Caused by: java.lang.RuntimeException:
org.apache.axis2.schema.SchemaCompilationException: java.lang.RuntimeException:
Unsupported content!
at
org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:152)
at
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:80)
... 2 more
Caused by: org.apache.axis2.schema.SchemaCompilationException:
java.lang.RuntimeException: Unsupported content!
at
org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:146)
at
org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:104)
... 3 more
Caused by: java.lang.RuntimeException: Unsupported content!
at
org.apache.axis2.schema.SchemaCompiler.processNamedComplexSchemaType(SchemaCompiler.java:436)
at
org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:350)
at
org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:289)
at
org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:267)
at
org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:179)
at
org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:141)
... 4 more