axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geir Egil Hansen (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AXIS2-1775) Axis2 fails in wsdl2java with "Array is not supported" exception
Date Fri, 16 Mar 2007 13:15:09 GMT

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

Geir Egil Hansen commented on AXIS2-1775:
-----------------------------------------

Mj, 

The problem with this is NOT  present when you are in control of the server yourself. Then
you can avoid this problem by creating the WSDL differently.
However, this is a MAJOR problem when you want to access someone else's WebServices which
are using this.  We cannot tell a third party to change their WebServices WSDl because we
are using Axis2 in which do not handle and will not handle. it. 
Right now this is blocking me from migrating from Axis1 to Axis2. Unfortunately I cannot find
the time either to help develop this functionality in Axis2 myself. 

The funny thing is that if someone has created their WebServices and the WSDL using Axis1,
the same WSDL cannot be read by Axis2 because of this. 
For now I am throwing out Axis1 AND Axis2 and trying out other stuff, currently JDeveloper
(maybe they are using Axis1 ....?). JDeveloper seems to work fine.

But I truly think support for arrays should be added to Axis2. It doesn't matter wether it
is recommended or not. It has to do with backward compatibility and compatibility with existing
WSDL's out there.






> 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


Mime
View raw message