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 "Manoj Khangaonkar (JIRA)" <ji...@apache.org> on 2007/02/01 20:08:05 UTC

[jira] Commented: (AXIS2-1775) Axis2 fails in wsdl2java with "Array is not supported" exception

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

Manoj Khangaonkar commented on AXIS2-1775:
------------------------------------------

Andreas,

Use of SOAP encoding is not recommended by the WS I Basic profile. SOAP encoding creates a number of interoperability issue , which is
why the Basic profile prohibits the use SOAP encoding.

I am not familiar with the library you are using , but I have to think - that if it does not follow the recommendations of Basic profile - it is a 
little dated and you might want to switch to a library that follows the standards

Mj

> Axis2 fails in wsdl2java with "Array is not supported" exception
> ----------------------------------------------------------------
>
>                 Key: AXIS2-1775
>                 URL: https://issues.apache.org/jira/browse/AXIS2-1775
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.1
>            Reporter: Andreas Goetz
>         Attachments: wsdl.xml
>
>
> Trying to run wsdl2java from axis2 creates this exception:
> 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: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.InvocationTargetException
>         at org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:52)
>         at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.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(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:49)
>         ... 3 more
> Caused by: org.apache.axis2.schema.SchemaCompilationException: {http://schemas.xmlsoap.org/soap/encoding/}Array is not supported.
> The same WSDL works fine using AXIS1

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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