axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject [jira] Updated: (AXIS-600) wsdl2java: <xsd:choice maxOccurs="unbounded"> does not result in array
Date Sat, 01 May 2004 22:36:53 GMT
The following issue has been updated:

    Updater: Dominic Battre (mailto:dominic.battre@gmx.de)
       Date: Sat, 1 May 2004 3:36 PM
    Comment:
This patch might solve the problem. Please test it carefully - I am very new to axis internals.

I don't know whether there are further places that need to be changed.
    Changes:
             Attachment changed to fix-axis-600.patch
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://issues.apache.org/jira/browse/AXIS-600?page=history

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/AXIS-600

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: AXIS-600
    Summary: wsdl2java: <xsd:choice maxOccurs="unbounded"> does not result in array
       Type: Bug

     Status: Open

    Project: Axis
 Components: 
             WSDL processing
   Versions:
             current (nightly)

   Assignee: Axis Developers Mailing List
   Reporter: Chris Haddad

    Created: Fri, 3 Jan 2003 10:33 PM
    Updated: Sat, 1 May 2004 3:36 PM
Environment: Operating System: Other
Platform: Other

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


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


Mime
View raw message