axis-java-dev mailing list archives

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


Geir Egil Hansen commented on AXIS2-1775:


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:
>             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:
>         at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(
>         at org.apache.axis2.wsdl.WSDL2Code.main(
>         at org.apache.axis2.wsdl.WSDL2Java.main(
> Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
>         at org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(
>         at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(
>         ... 2 more
> Caused by: java.lang.reflect.InvocationTargetException
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(
>         at java.lang.reflect.Method.invoke(
>         at org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(
>         ... 3 more
> Caused by: org.apache.axis2.schema.SchemaCompilationException: {}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:
For additional commands, e-mail:

View raw message