Hi,
I have the following in my schema:
<simpleType name="ValidNameStrings">
<restriction base="xsd:string">
<enumeration value="string1"/>
<enumeration value="string2"/>
<enumeration value="string3"/>
</restriction>
</simpleType>
<complexType name="nameStrings">
<sequence>
<element name="item" type="tns:ValidAppNames" minOccurs="0"
maxOccurs="3"/>
</sequence>
</complexType>
<complexType name="ArrayOfNames">
<restriction base="soapenc:Array">
<attribute ref="soapenc:arraytype"
wsdl:arrayType="tns:nameStrings[]"/>
</restriction>
</complexType>
<conplexType name="input">
<sequence>
<element name="names" type="tns:ArrayOfNames"/>
<element name="term" type="xsd:String"/>
</sequence>
</complexType>
The above is a part of my wsdl. When I use WSDL2Java, what .java files can I
expect? I seem to get only ArrayOfNames.java which has the following
methods:
Equals, hashcode, a custom serializer and a deserializer. There is no
reference to the ValidNameStrings and nameStrings array. What has gone
wrong?
Would appreciate any help.
Thanks in advance,
JS.