Axis
  1. Axis
  2. AXIS-2250

AXIS array serialization: Incorrect element names of items in a list

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Critical Critical
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
    • Environment:
      plattform: i386, OS: WinXP Pro, Java: 1.4.2_06

      Description

      -Web Service deployed as "wrapped/literal"

      The web service returns a custom bean style class which has an array of another custom bean style class as a member.

      In the WSDL-file the array of the custom type is being described correctly:

      <complexType name="ArrayOf_tns1_EntityTypeBean">
      <sequence>
      <element maxOccurs="unbounded" minOccurs="0" name="item" type="tns1:EntityTypeBean"/>
      </sequence>
      </complexType>

      But when the Java object is being serialized during runtime the array is being transfered to a list whose member elements DO NOT have the name "item" as expected from the WSDL-file. All members of the list have the same name as the list itself:

      <entities>
      <entities>
      ...
      </entities>
      <entities>
      ...
      </entities>
      <entities>
      ...
      </entities>
      </entities>

      But this is expected:

      <entities>
      <item>
      ...
      </item>
      <item>
      ...
      </item>
      <item>
      ...
      </item>
      </entities>

      1. beans.zip
        3 kB
        Denis Schlesinger
      2. Post.zip
        19 kB
        Karthik R

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Denis Schlesinger
          • Votes:
            5 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

            • Created:
              Updated:

              Development