Getting an error generating code from  
http://api.google.com/GoogleSearch.wsdl
What do I need to do to get this working?


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: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.InvocationTargetExcepti
on
        at
org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(Simp
leDBExtension.java:52)
        at
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGener
ationEngine.java:177)
        ... 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:597)
        at
org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(Simp
leDBExtension.java:49)
        ... 3 more
Caused by: org.apache.axis2.schema.SchemaCompilationException:
{http://schemas.x
mlsoap.org/soap/encoding/}Array is not supported.
        at
org.apache.axis2.schema.SchemaCompiler.findClassName(SchemaCompiler.j
ava:828)
        at
org.apache.axis2.schema.SchemaCompiler.processComplexContent(SchemaCo
mpiler.java:1127)
        at
org.apache.axis2.schema.SchemaCompiler.processContentModel(SchemaComp
iler.java:998)
        at
org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompi
ler.java:982)
        at
org.apache.axis2.schema.SchemaCompiler.processNamedComplexSchemaType(
SchemaCompiler.java:917)
        at
org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.j
ava:872)
        at
org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.
java:533)
        at
org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.
java:495)
        at
org.apache.axis2.schema.SchemaCompiler.process(SchemaCompiler.java:15
44)
        at
org.apache.axis2.schema.SchemaCompiler.processParticle(SchemaCompiler
.java:1510)
        at
org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompi
ler.java:959)
        at
org.apache.axis2.schema.SchemaCompiler.processNamedComplexSchemaType(
SchemaCompiler.java:917)
        at
org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.j
ava:872)
        at
org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.
java:533)
        at
org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.
java:495)
        at
org.apache.axis2.schema.SchemaCompiler.process(SchemaCompiler.java:15
44)
        at
org.apache.axis2.schema.SchemaCompiler.processParticle(SchemaCompiler
.java:1506)
        at
org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompi
ler.java:959)
        at
org.apache.axis2.schema.SchemaCompiler.processAnonymousComplexSchemaT
ype(SchemaCompiler.java:891)
        at
org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.j
ava:874)
        at
org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.
java:533)
        at
org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.
java:505)
        at
org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:34
2)
        at
org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:25
4)
        at
org.apache.axis2.schema.ExtensionUtility.invoke(ExtensionUtility.java
-- 
View this message in context: 
http://www.nabble.com/Getting-error-WSDL2JAVA-GoogleSearch.wsdl-tf3298134.html#a9174800
Sent from the Axis - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to