Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0.2
-
None
Description
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.