PDA

View Full Version : Glue wsdl2java problem generation


yanselme
06-16-2004, 04:11
Hello,

If you want generate java object with wsdl2java from wsdl containing only one element with maxOccurs, the object is not generated !

this is the wsdl extract :
<complextype>
<sequence>
<element>
</sequence>
</complextype>
so, Devices.java is not generated.

a workarround is to add another element
<complextype>
<sequence>
<element>
<element>
</sequence>
</complextype>
so, Devices.java is generated.

Thanks in advance.