Forum Discussion
f5TechieAA_7448
Nimbostratus
Nov 14, 2008Error 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)
- The iControl.jar file for v9.6.0 of the SDK is available on the iControl Assembly Labs page
http://devcentral.f5.com/Default.aspx?tabid=68
http://devcentral.f5.com/LinkClick.aspx?link=http%3a%2f%2fdevcentral.f5.com%2fdownloads%2fiControl%2fiControlJavaLibs.zip&tabid=73&mid=656
- f5TechieAA_7448
Nimbostratus
Thanks Joe for the binaries. I am running into this error while executing the code. - That library was built with 1.6. Here's a build with 1.5.
http://devcentral.f5.com/LinkClick.aspx?link=http%3a%2f%2fdevcentral.f5.com%2flabs%2fiControlAssembly%2fiControl-JDK15.zip&tabid=73&mid=433
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects