You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Daniel Serodio (Commented) (JIRA)" <ji...@apache.org> on 2011/12/12 16:06:30 UTC

[jira] [Commented] (AXIS2-4599) can not find type {http://schemas.xmlsoap.org/soap/encoding/}Array from the parent schema

    [ https://issues.apache.org/jira/browse/AXIS2-4599?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13167519#comment-13167519 ] 

Daniel Serodio commented on AXIS2-4599:
---------------------------------------

Axis should give a more meaningful error message in this case, like "RPC/encoded WSDL is not supported".
                
>  can not find type  {http://schemas.xmlsoap.org/soap/encoding/}Array from the parent schema
> -------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-4599
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4599
>             Project: Axis2
>          Issue Type: Bug
>          Components: codegen
>         Environment: wslds using SOAP Encoding
>            Reporter: Ramachandan Natesan
>            Priority: Critical
>
> org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeExceptio
> n: 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)
>         at com.adventnet.appmanager.server.wsm.util.WSDL2JavaHelper.main(WSDL2Ja
> vaHelper.java:60)
> 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)
>         ... 3 more
> Caused by: java.lang.reflect.InvocationTargetException
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>         at java.lang.reflect.Method.invoke(Unknown Source)
>         at org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(Simp
> leDBExtension.java:50)
>         ... 4 more
> Caused by: org.apache.axis2.schema.SchemaCompilationException: can not find type
>  {http://schemas.xmlsoap.org/soap/encoding/}Array from the parent schema http://
> ramachandrankn:7777/axis/services/OrderProcessor
>         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)
>         at org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.j
> ava:931)
>         at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.
> java:766)
>         at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.
> java:552)
>         at org.apache.axis2.schema.SchemaCompiler.process(SchemaCompiler.java:19
> 91)
>         at org.apache.axis2.schema.SchemaCompiler.processParticle(SchemaCompiler
> .java:1874)
>         at org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompi
> ler.java:1081)
>         at org.apache.axis2.schema.SchemaCompiler.processNamedComplexSchemaType(
> SchemaCompiler.java:1017)
>         at org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.j
> ava:931)
>         at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.
> java:766)
>         at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.
> java:552)
>         at org.apache.axis2.schema.SchemaCompiler.process(SchemaCompiler.java:19
> 91)
>         at org.apache.axis2.schema.SchemaCompiler.processParticle(SchemaCompiler
> .java:1874)
>         at org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompi
> ler.java:1081)
>         at org.apache.axis2.schema.SchemaCompiler.processAnonymousComplexSchemaT
> ype(SchemaCompiler.java:980)
>         at org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.j
> ava: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:37
> 0)
>         at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:28
> 0)
>         at org.apache.axis2.schema.ExtensionUtility.invoke(ExtensionUtility.java
> :103)
>         ... 9 more

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org