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=15789>.
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=15789

wsdl2java: <xsd:choice maxOccurs="unbounded"> does not result in array

           Summary: wsdl2java: <xsd:choice maxOccurs="unbounded"> does not
                    result in array
           Product: Axis
           Version: current (nightly)
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: WSDL processing
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


.NET defines a repeating dataset row as a sub-element of a xsd:choice element.  
The xsd:choice element is defined as 'unbounded' in the wsdl definition while 
the element has no restricting facets.

wsdl2java creates a member variable defining a single object instead of an 
array.

For example:
    private org.tempuri.www.Customers customers;
instead of:
    private org.tempuri.www.Customers[] customers;

see the attached wsdl files for a sample .NET dataset definition.

Reply via email to