On Sat, Jun 28, 2008 at 7:37 PM, Sander de Boer <[EMAIL PROTECTED]>
wrote:

> Hi,
>
> I get the following error while parsing my wsdl with wsdl2java of axis2,
>  with wsdl2 java of axis1 this will work fine...
>
> 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(CodeGenerationEngine.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.InvocationTargetException
>        at
> org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:53)
>        at
> org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.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(DelegatingMethodAccessorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:585)
>        at
> org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:50)
>        ... 3 more
> Caused by: org.apache.axis2.schema.SchemaCompilationException: can not find
> type 
> {http://schemas.xmlsoap.org/soap/encoding/}Array<http://schemas.xmlsoap.org/soap/encoding/%7DArray>from
>  the parent schema urn:DMdeliverySoapAPI
>        at
> org.apache.axis2.schema.SchemaCompiler.copyMetaInfoHierarchy(SchemaCompiler.java:1296)
>        at
> org.apache.axis2.schema.SchemaCompiler.processComplexContent(SchemaCompiler.java:1258)
>        at
> org.apache.axis2.schema.SchemaCompiler.processContentModel(SchemaCompiler.java:1153)
>        at
> org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompiler.java:1097)
>        at
> org.apache.axis2.schema.SchemaCompiler.processNamedComplexSchemaType(SchemaCompiler.java:1017)
>        at
> org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:931)
>        at
> org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:592)
>        at
> org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:552)
>        at
> org.apache.axis2.schema.SchemaCompiler.process(SchemaCompiler.java:1991)
>        at
> org.apache.axis2.schema.SchemaCompiler.processParticle(SchemaCompiler.java:1874)
>        at
> org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompiler.java:1081)
>        at
> org.apache.axis2.schema.SchemaCompiler.processAnonymousComplexSchemaType(SchemaCompiler.java:980)
>        at
> org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:934)
>        at
> org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:592)
>        at
> org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:563)
>        at
> org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:370)
>        at
> org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:280)
>        at
> org.apache.axis2.schema.ExtensionUtility.invoke(ExtensionUtility.java:103)
>
>
> Any ideas? In attach my wsdl.


Axis2 does not support the soap encoding.

thanks,
Amila.

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



-- 
Amila Suriarachchi,
WSO2 Inc.

Reply via email to