You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Sagara Gunathunga (Resolved) (JIRA)" <ji...@apache.org> on 2011/12/14 12:03:31 UTC

[jira] [Resolved] (AXIS2-4276) Please support methods returning java.util.Collection in java2wsdl

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

Sagara Gunathunga  resolved AXIS2-4276.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.7.0
    
> Please support methods returning java.util.Collection<T> in java2wsdl
> ---------------------------------------------------------------------
>
>                 Key: AXIS2-4276
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4276
>             Project: Axis2
>          Issue Type: New Feature
>          Components: wsdl
>    Affects Versions: 1.4.1
>            Reporter: Pétur Runólfsson
>            Priority: Minor
>             Fix For: 1.7.0
>
>
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org