axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashutosh Shahi (JIRA)" <>
Subject [jira] Commented: (AXIS-1615) Axis 1.2 literal array's are broken: WSDL2Java and WSDL gen
Date Mon, 22 Nov 2004 06:33:26 GMT
     [ ]
Ashutosh Shahi commented on AXIS-1615:

    The snippet of java code and output wsdl that u showed occurs for wrapped/literal. For
doc/lit, axis doesn't even give the return type as array, u can check the doc.wsdl provided
by Paul. 
     I think we need to modify the witeElementDecl method in, such that if javaType.isArray
is true, we set maxOccurs="unbounded" for all serializable types.
     Tell me if there is any misunderstanding on my part.

> Axis 1.2 literal array's are broken: WSDL2Java and WSDL gen
> -----------------------------------------------------------
>          Key: AXIS-1615
>          URL:
>      Project: Axis
>         Type: Bug
>   Components: WSDL processing
>     Versions: 1.2 Beta, 1.2RC1
>  Environment: Windows XP all current updates, Tomcat 5.0, Java v1.4.2_05-b04
>     Reporter: Paul Bouche
>     Assignee: Tom Jordahl
>  Attachments:, doc.wsdl, wrapped.wsdl
> When returning an array of int or arrays of String, ie. int[] or String[] and creating
a wsdl for this service using
> java2wsdl -y DOCUMENT -u LITERAL -lhttp://foo testsimplearrays.TestSimpleArraysService
-o doc.wsdl a wrong return type is generated. Instead of int[] it is int, the same with String[].
> Please see attached files for reproduction.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
If you want more information on JIRA, or have a bug to report see:

View raw message