You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by bu...@apache.org on 2003/01/03 23:33:30 UTC

DO NOT REPLY [Bug 15789] New: - wsdl2java: does not result in array

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: axis-dev@xml.apache.org
        ReportedBy: chris.haddad@cobia.net


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