[ 
http://issues.apache.org/jira/browse/AXIS-1985?page=comments#action_12313366 ] 

David Rolfe commented on AXIS-1985:
-----------------------------------

We've run a full test. We built everything from scratch and observed the 
following:

1. deploy.wsdd now includes array references but...

2. Everything works until Axis tries to unscramble the returned message. Then 
we consistantly see the array being 'collapsed' - Instead of 
getting 10 rows of 3 columns each we get 1 row with 1 column. The returned data 
structure doesn't match the definition in the WSDL and WSDD files. 

3. According to eclipse this is what is actually returned in our WSDLRowSet 
test case:

rows= WsdlRow[1]  (id=29)
        [0]= WsdlRow  (id=48)
                __equalsCalc= null
                __hashCodeCalc= false
                rowColumns= WsdlElement[1]  (id=50)
                        [0]= WsdlElement  (id=52)
                                __equalsCalc= null
                                __hashCodeCalc= false
                                column= "Row/Column 41/41. This should have 
42.0 rows and columns"


We should be seeing 42 WsdlRows each with 42 columns. What we get is one row 
with the last column. 

4. This behaviour does not occur in Axis 1.1

5. If you want to reproduce this bug see smallarraysbug.zip.

> Arrays of arrays work in 1.1 but not in 1.2.1
> ---------------------------------------------
>
>          Key: AXIS-1985
>          URL: http://issues.apache.org/jira/browse/AXIS-1985
>      Project: Axis
>         Type: Bug
>   Components: Serialization/Deserialization
>     Versions: 1.2RC3
>  Environment: Web Servers: Tomcat 4.1.31, 5.0.28, 5.5.4
> Axis Versions: Not present in Axis 1.1. Occurs in Axis 1.2 all releases up to 
> 1.2.1.
> Java: 1.4.2_04
> Operating Systems: Present on Windows XP and Solaris 5.8
>     Reporter: David Rolfe
>     Priority: Blocker
>  Attachments: Axis1985WSDL.zip, deploy.wsdd, full1.wsdl
>
> We make a product for running Oracle stored procedures and SQL statements 
> that is designed to work with Axis. An essential part of such a product is 
> the ability to represent the results of arbitrary SQL queries. We use 3 
> classes to represent a Query, its rows and its columns. The relationship is 
> like this:
> WsdlRowSet - Represents a query. Has an array of String[] (column names) and 
> WsdlRow (rows)
> WsdlRow - Represents a row. Has an array of WsdlElement (a value)
> WsdlElement - a wrapper for Object.
> All of this works fine in Axis 1.1 but in 1.2 all the elements except the 
> last one in both the row arrays and the list of column names are lost. We 
> have zipped a test case and uploaded it to:
> http://www.orindasoft.com/public/friends/smallarraysbug.zip

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to