axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pétur Runólfsson (JIRA) <j...@apache.org>
Subject [jira] Updated: (AXIS2-4276) Please support methods returning java.util.Collection<T> in java2wsdl
Date Tue, 12 May 2009 14:31:45 GMT

     [ https://issues.apache.org/jira/browse/AXIS2-4276?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Pétur Runólfsson updated AXIS2-4276:
------------------------------------

    Priority: Minor  (was: Major)

> Please support methods returning java.util.Collection<T> in java2wsdl
> ---------------------------------------------------------------------
>
>                 Key: AXIS2-4276
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4276
>             Project: Axis 2.0 (Axis2)
>          Issue Type: New Feature
>          Components: wsdl
>    Affects Versions: 1.4.1
>            Reporter: Pétur Runólfsson
>            Priority: Minor
>
> The java2wsdl tool doesn't generate useful WSDL for methods that return java.util.Collection<T>:
> <xs:complexType name="Collection">
> <xs:sequence>
> <xs:element minOccurs="0" name="empty" type="xs:boolean"/>
> </xs:sequence>
> </xs:complexType>
> It would be much more useful to generate WSDL like for T[]:
> <xs:complexType>
> <xs:sequence>
> <xs:element maxOccurs="unbounded" minOccurs="0" name="return" nillable="true" type="xs:string"/>
> </xs:sequence>
> </xs:complexType>
> Using manually created WSDL like the latter with a method that returns java.util.Collection<T>
seems to work, so it would be nice if java2wsdl supported this also.

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


Mime
View raw message