Axis team,
I am migrating a webservice which is axis 1.2 to axis 2.1.1. I get the
following error when I generate code using the wsdl in axis 2.1.1 When I
used xmlbeans as the databinding type I was able to generate the code
but it generates a lot of other classes(xmlbeans) which I don't want.
What is the best way to handle this? Is xmlbeans the only option now? I
read thru the documentation but I am not clear what databinding axis 1.*
used that I did not have a problem. Please help.
Thanks
Harish
Exception in thread "main"
org.apache.axis2.wsdl.codegen.CodeGenerationExcepti
: java.lang.RuntimeException:
java.lang.reflect.InvocationTargetException
at
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGen
ationEngine.java:224)
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:
java.lang.reflect.InvocationTargetExcep
on
at
org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(Si
leDBExtension.java:52)
at
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGen
ationEngine.java:177)
... 2 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImp
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcc
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(Si
leDBExtension.java:49)
... 3 more
Caused by: org.apache.axis2.schema.SchemaCompilationException:
{http://schemas
mlsoap.org/soap/encoding/}Array is not supported.
at
org.apache.axis2.schema.SchemaCompiler.findClassName(SchemaCompiler
ava:820)
at
org.apache.axis2.schema.SchemaCompiler.processComplexContent(Schema
mpiler.java:1076)
at
org.apache.axis2.schema.SchemaCompiler.processContentModel(SchemaCo
iler.java:989)
at
org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCom
ler.java:973)
at
org.apache.axis2.schema.SchemaCompiler.processNamedComplexSchemaTyp
SchemaCompiler.java:909)
at
org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler
ava:864)
at
org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompile
java:527)
at
org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompile
java:489)
at
org.apache.axis2.schema.SchemaCompiler.process(SchemaCompiler.java:
88)
at
org.apache.axis2.schema.SchemaCompiler.processParticle(SchemaCompil
.java:1450)
at
org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCom
ler.java:950)
at
org.apache.axis2.schema.SchemaCompiler.processAnonymousComplexSchem
ype(SchemaCompiler.java:883)
at
org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler
ava:866)
at
org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompile
java:527)
at
org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompile
java:499)
at
org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:
6)
at
org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:
8)
at
org.apache.axis2.schema.ExtensionUtility.invoke(ExtensionUtility.ja
:72)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]