SOAP-WSDL - Question about generated type module from wsdl2perl

Posted on Tue Jun 24 19:11:55 2008 by blogzen
Question about generated type module from wsdl2perl
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,
Direct Responses: 8155 | Write a response