In my WSDL embedded Schema I have:
...
<complexType name="ArrayOfOption">
<complexContent>
<restriction base="soapenc:Array">
<sequence>
<element name="option" type="tns:Option"
minOccurs="0" maxOccurs="unbounded"/>
</sequence>
</restriction>
</complexContent>
</complexType>
<complexType name="Option">
<all>
<element name="name" type="string"/>
<element name="value" type="string"/>
</all>
</complexType>
...
After WSDL2Java and making a call, the request shows:
...
<options xsi:type="SOAP-ENC:Array"
SOAP-ENC:arrayType="ns1:Option[5]">
<item xsi:type="ns1:Option">
<name xsi:type="xsd:string">template</name>
<value xsi:type="xsd:string">D:\templates\template1.htm</value>
</item>
<item xsi:type="ns1:Option">
...
I am expecting an <option> tag instead of an <item> tag. This happens
both with and without multiref enabled. Bug?
cheers,
Simon