You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Simon Nash (JIRA)" <de...@tuscany.apache.org> on 2011/04/17 22:10:05 UTC

[jira] [Resolved] (TUSCANY-3799) Tuscany generates incorrect WSDL for List

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

Simon Nash resolved TUSCANY-3799.
---------------------------------

    Resolution: Fixed
      Assignee: Simon Nash

Fixed by the changes for TUSCANY-3298.

> Tuscany generates incorrect WSDL for List<type>
> -----------------------------------------------
>
>                 Key: TUSCANY-3799
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3799
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Axis Binding Extension
>    Affects Versions: Java-SCA-1.6.1
>            Reporter: Simon Nash
>            Assignee: Simon Nash
>             Fix For: Java-SCA-1.x
>
>
> If a Java service interface has a parameter of type List<someType>, Tuscany generates WSDL with xs:anyType for this parameter.  This isn't correct according to the JAXB specification and the JAXB RI.  The generated type should be a sequence of the mapped type for someType, with maxOccurs="unbounded".
> This problem doesn't occur with an array parameter.  Tuscany maps this to an unbounded sequence of the base type, which is correct.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira