Uploaded image for project: 'Axis'
  1. Axis
  2. AXIS-600

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

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Resolution: Unresolved
    • None
    • None
    • WSDL processing
    • None
    • Operating System: Other
      Platform: Other
    • 15789

    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.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            chris.haddad@cobia.net Chris Haddad

            Dates

              Created:
              Updated:

              Slack

                Issue deployment