f5TechieAA_7448
Nov 14, 2008Nimbostratus
Error while generating clien stubs using axis wsdl2java
I was trying to generate java class from webservices but it keeps complaining about soapenc array. Need help. I need icontrol.jar (java version) if anyone has it.
Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException
: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGener
ationEngine.java:271)
at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)
Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetExcepti
on
at org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(Simp
leDBExtension.java:53)
at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGener
ationEngine.java:224)
... 2 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(Simp
leDBExtension.java:50)
... 3 more
Caused by: org.apache.axis2.schema.SchemaCompilationException: can not find type
{http://schemas.xmlsoap.org/soap/encoding/}Array from the parent schema urn:iCo
ntrol
at org.apache.axis2.schema.SchemaCompiler.copyMetaInfoHierarchy(SchemaCo
mpiler.java:1296)
at org.apache.axis2.schema.SchemaCompiler.processComplexContent(SchemaCo
mpiler.java:1258)
at org.apache.axis2.schema.SchemaCompiler.processContentModel(SchemaComp
iler.java:1153)
at org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompi
ler.java:1097)
at org.apache.axis2.schema.SchemaCompiler.processNamedComplexSchemaType(
SchemaCompiler.java:1017)