@WebMethod

    public abstract void addNameBatch(@WebParam(name="indexid") String
indexid, 

                                      @WebParam(name="names")Name[]
names) throws NameIndexException; 

 

It looks to me as if an array of names has turned into an array of
arrays of names. Shouldn't naxOccurs here be 1? Or the type be a plain
Name?

 

<xsd:element name="addNameBatch" type="tns:addNameBatch"/>

<xsd:complexType name="addNameBatch">

<xsd:sequence>

<xsd:element minOccurs="0" name="indexid" type="xsd:string"/>

<xsd:element maxOccurs="unbounded" minOccurs="0" name="names"
type="ns1:ArrayOfName"/>

</xsd:sequence>

</xsd:complexType>

Reply via email to