|
HI,
I have xml schema defined as:
<xsd:complexType name="ArrayOfMyType">
<xsd:sequence>
<xsd:element name="item" type="MyType" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
wsdl2perl generates ArrayOfMyType.pm which has document like this:
Constructor. The following data structure may be passed to new():
{ # ArrayOfMyType
item => { # MyType
# properties of MyType
},
},
Looks like it should be a hash, but how could it have multiple entries with the same key 'item'? In my schema definition I declared that 'item' could repeat inside of ArrayOfMyType.
Thanks,
|