axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rahul yadav <rahulyada...@gmail.com>
Subject Schema error with ADB binding.
Date Sat, 28 Nov 2009 09:46:35 GMT
Hi,
 I am using AXIS1.4.1 to generate Java source from WSDL. It is working fine
for most of my test cases, but encountered errors with attached  wsdl.

Attached WSDL : RpcEnc.asmx

ADB Binding : Throws following exception  ....


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
com.intervoice.webservice.testbed.CodeGenerator.generateJavafromWSDL(CodeGenerator.java:233)
    at com.intervoice.webservice.testbed.wsdl2java.main(wsdl2java.java:39)
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:597)
    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 from the parent schema
http://Intervoice/EVIP/RpcEncode/
    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)
    ... 8 more

XMLBeans Binding :
   Able to generate java source but, code complains of compile  time error.

Jibx Binding : Don't want to try this because it does not support rpc/enc
type wsdl.


please suggest me were am i going wrong...or is there any specific parameter
need to be set during code generation.


Thanks & Regards,
Rahul Yadav

Mime
View raw message