Uploaded image for project: 'Axis-C++'
  1. Axis-C++
  2. AXISCPP-511

Deserialization of complex nested arrays broken

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • current (nightly)
    • None
    • None
    • cvs, Mar 7, 2005

    Description

      Deserialization of nested complex arrays seems very broken.

      With the attached wsdl and SOAP transaction I see the Response structure filled in as follows:

      result: 1
      outAttrs.m_Array: 0x8080928
      outAttrs.m_Size: 2
      outAttrs.m_Array[0]: 0x8080968
      outAttrs.m_Array[1]: 0x8080a80

      outAttrs.m_Array[0]:
      attributes.m_Array: 0x80808a8
      attributes.m_Size: 2
      attributes.m_Array[0]: 0x1
      attributes.m_Array[1]: (nil)
      attributes.m_Array: 0x8080998
      outAttrs.m_Array[1]:
      attributes.m_Size: 3
      attributes.m_Array[0]: 0x1
      attributes.m_Array[1]: 0x80809b8
      attributes.m_Array[2]: 0x80809c8

      As you can see the outer array looks OK but the inner arrays are garbage. The values of outAttrs.m_Array[x]->attributes.m_Array[y] should be valid pointers to Attributes but theri values are clearly not valid pointers.

      Regards,

      Tim

      Attachments

        1. axis.trace
          2 kB
          Tim Bartley
        2. Service2.wsdl
          3 kB
          Tim Bartley

        Issue Links

          Activity

            People

              prestonf Fred Preston
              tbartley@au1.ibm.com Tim Bartley
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: