axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Bartley (JIRA)" <>
Subject [jira] Created: (AXISCPP-511) Deserialization of complex nested arrays broken
Date Mon, 07 Mar 2005 08:04:52 GMT
Deserialization of complex nested arrays broken

         Key: AXISCPP-511
     Project: Axis-C++
        Type: Bug
  Components: Deserialization  
    Versions: current (nightly)    
 Environment: cvs, Mar 7, 2005
    Reporter: Tim Bartley
 Attachments: Service2.wsdl, axis.trace

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

    attributes.m_Array: 0x80808a8
    attributes.m_Size:  2
    attributes.m_Array[0]: 0x1
    attributes.m_Array[1]: (nil)
    attributes.m_Array: 0x8080998
    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.



This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
If you want more information on JIRA, or have a bug to report see:

View raw message