Hello,
I got exactly the same issue. This occurs with axis 1.3 and axis 1.4.
If you add a "foo" attribute in your wsdl like this :
<complexType name="ItemList">
<sequence>
<element name="foo" type="anyType"/>
<element name="ItemEntry" type="abcd:ItemEntry" minOccurs="0"
maxOccurs="49" nillable="true"/>
</sequence>
</complexType>
The java Class ItemList will be correctly generated. So it appears to
be a regression in axis from 1.3... Maybe someone has an other
explanation and/or solution?
JC
2009/3/30 Rishi Renjith <[email protected]>:
> Hello,
> In my project, we are planning to upgrade from axis 1.2 to axis 1.4. But
> when we tested, we noticed that wsdl2java is not generating some java
> classes which it used to generate in axis 1.2
> For eg, with the wsdl structure as below,
> <complexType name="ItemEntry">
> <sequence>
> <element name="one" type="abcd:DOW" minOccurs="1" maxOccurs="1"/>
> <element name="two" type="xsd:time" minOccurs="0" maxOccurs="1"
> nillable="true"/>
> </sequence>
> </complexType>
> <complexType name="ItemList">
> <sequence>
> <element name="ItemEntry" type="abcd:ItemEntry" minOccurs="0"
> maxOccurs="49" nillable="true"/>
> </sequence>
> </complexType>
> <complexType name="Item-loc">
> <sequence>
> <element name="ItemList" type="abcd:ItemList" minOccurs="0"
> maxOccurs="1" nillable="true"/>
> </sequence>
> </complexType>
> wsdl2java is not generating a class for ItemList in axis 1.4, but it used to
> generate a class for ItemList in axis1.2.
> Is wsdl2java in 1.4 backward compatible with 1.2 ?
>
>
> Thanks,
> Rishi