Greetings,
what would be better to define a a list of attributes (POIClass*), using
a the soap-env:Array element (1) or a sequence of element with
minOccurs="0" maxOcurrs="unbounded" (2)?
The first approach is picked from WSDL generated from java classes on a
array of objects mapping (POIClass[]):
(1)
<complexType name="ArrayOfPOIClass">
<complexContent>
<restriction base="soap-enc:Array">
<attribute ref="soap-enc:arrayType"
wsdl:arrayType="lf:POIClass[]"/>
</restriction>
</complexContent>
</complexType>
The second approach is a regular schema definition way of declaring
sequence of elements:
(2)
<complexType name="POIClassesType">
<sequence>
<element name="POICLass" type="lf:POIClass"
minOccurs="0" maxOcurrs="unbounded"/>
</sequence>
</complexType>
The problem I found in the case (2) is that the java class
POIClassesType has defined just a "set/get" of one object of POIClass!!
Where is the array of POIClass??? Is a bug or how that it works?
thanks,
Pedro Salazar.
--
PS
pedro-b-salazar_at_ptinovacao.pt
PGP:0E129E31D803BC61