DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9667>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9667 WSDL2Java Bug with variable structure Summary: WSDL2Java Bug with variable structure Product: Axis Version: beta-2 Platform: PC OS/Version: Windows XP Status: NEW Severity: Normal Priority: Other Component: Basic Architecture AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] When I run wsdl2java using the schema definition at the end, the bean which gets generated looks like the following: public class Participant implements java.io.Serializable { . . . private [..].ParticipantLifeEvent participantLifeEvent; getters() setters() } This is not correct, because there can be an unbounded number of ParticipantLifeEvent, so there shall be a Vector of ParticipantLifeEvents or an array instead of the one ParticipantLifeEvent-variable. <xsd0:element name="Participant"> <xsd0:complexType> <xsd0:sequence> <xsd0:element ref="xsd1:ParticipantLifeEvent" minOccurs="0" maxOccurs="unbounded"/> </xsd0:sequence> <xsd0:attribute name="transaction" type="xsd0:string" use="optional"/> </xsd0:complexType> </xsd0:element>