Issue Details (XML | Word | Printable)

Key: AXIS2-1775
Type: Bug Bug
Status: Resolved Resolved
Resolution: Won't Fix
Priority: Major Major
Assignee: Unassigned
Reporter: Andreas Goetz
Votes: 6
Watchers: 5
Operations

If you were logged in you would be able to see more operations.
Axis 2.0 (Axis2)

Axis2 fails in wsdl2java with "Array is not supported" exception

Created: 25/Nov/06 02:55 PM   Updated: 06/Jun/07 08:36 PM
Return to search
Component/s: codegen
Affects Version/s: 1.1
Fix Version/s: None

Time Tracking:
Not Specified

File Attachments:
  Size
XML File Licensed for inclusion in ASF works wsdl.xml 2006-11-25 02:56 PM Andreas Goetz 5 kB

Resolution Date: 06/Jun/07 08:36 PM


 Description  « Hide
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

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Andreas Goetz made changes - 25/Nov/06 02:56 PM
Field Original Value New Value
Attachment wsdl.xml [ 12345657 ]
Davanum Srinivas made changes - 31/Jan/07 02:32 PM
Resolution Won't Fix [ 2 ]
Status Open [ 1 ] Resolved [ 5 ]
Andreas Goetz made changes - 01/Feb/07 06:50 PM
Status Resolved [ 5 ] Reopened [ 4 ]
Resolution Won't Fix [ 2 ]
Davanum Srinivas made changes - 06/Jun/07 08:36 PM
Status Reopened [ 4 ] Resolved [ 5 ]
Resolution Won't Fix [ 2 ]