On Nov 20, 2007 3:08 PM, amardeep <[EMAIL PROTECTED]> wrote:
>
> Hi All,
> please help me out,the stub which i got generated is not proper i feel.
> on executing the code
> wsdl2java -u -ss -g -uri http://............................ -o (o/p
> path)
> i get the following error though my files are created,how to resolve this
> plz help.
>
>
> 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:265)
> 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:218)
> ... 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:50)
> ... 3 more
> Caused by: org.apache.axis2.schema.SchemaCompilationException:
> {http://schemas.x
> mlsoap.org/soap/encoding/}Array is not supported.
> at
here the problem is Axis2 does not support soap encoding.
> org.apache.axis2.schema.SchemaCompiler.findClassName(SchemaCompiler.j
> ava:819)
> at
> org.apache.axis2.schema.SchemaCompiler.processComplexContent(SchemaCo
> mpiler.java:1201)
> at
> org.apache.axis2.schema.SchemaCompiler.processContentModel(SchemaComp
> iler.java:1077)
> at
> org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompi
> ler.java:993)
> at
> org.apache.axis2.schema.SchemaCompiler.processNamedComplexSchemaType(
> SchemaCompiler.java:914)
> at
> org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:32
> 7)
> at
> org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:21
> 2)
> at
> org.apache.axis2.schema.ExtensionUtility.invoke(ExtensionUtility.java
> :80)
>
>
>
> thanks,
> Amardeep
> --
> View this message in context:
> http://www.nabble.com/Stub-generated-is-not-proper%2Cfew-important-classesare-missing-tf4842277.html#a13853716
> Sent from the Axis - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
Amila Suriarachchi,
WSO2 Inc.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]