cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "benson margulies (JIRA)" <j...@apache.org>
Subject [jira] Created: (CXF-1105) Arrays with Aegis+JAX-WS produce incorrect WSDL
Date Thu, 11 Oct 2007 00:36:50 GMT
Arrays with Aegis+JAX-WS produce incorrect WSDL
-----------------------------------------------

                 Key: CXF-1105
                 URL: https://issues.apache.org/jira/browse/CXF-1105
             Project: CXF
          Issue Type: Bug
          Components: Aegis Databinding
    Affects Versions: 2.0.2
            Reporter: benson margulies


If a parameter of an operation is declared as 

void foo (String x, Name[] y)

then the resulting WSDL will look like:

<xsd:complexType name="addNameBatch">
<xsd:sequence>
<xsd:element minOccurs="0"  name="indexid" type="xsd:string"/>
<xsd:element maxOccurs="unbounded"  name="names" type="ns1:ArrayOfName"/>
</xsd:sequence>
</xsd:complexType>

Presto: a two-dimensional array.

Using List<Name> instead yields the correct schema.



-- 
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