Uploaded image for project: 'Tuscany'
  1. Tuscany
  2. TUSCANY-3799

Tuscany generates incorrect WSDL for List<type>

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        Activity

          People

            scnash Simon Nash
            scnash Simon Nash
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: