All,
Does anyone have any input as to why, when given schema such as the following:
<wsdl:types>
<xsd:schema targetNamespace="http://www.foo.com"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:element name="foo">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="bar" type="xsd:int"
minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<wsdl:types>
WSDL2Java generates code that indicates that bar is of type "int" as defined in the
"http://schemas.xmlsoap.org/soap/encoding/" namespace? I am bewildered. If I remove
the minOccurs attribute, Axis will generate the correct stub.
Sorry for a quasi-repost -- perhaps I didn't phrase my original issue well or no one
knew the answer ;).
Thanks,
Cory Wilkerson