axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Sauthier (JIRA)" <axis-...@ws.apache.org>
Subject [jira] Commented: (AXIS-1838) Array deserialization
Date Fri, 18 Mar 2005 14:02:21 GMT
     [ http://issues.apache.org/jira/browse/AXIS-1838?page=comments#action_61207 ]
     
Guillaume Sauthier commented on AXIS-1838:
------------------------------------------

Something interresting :
the TypeDesc inside test.wsdl.roundtrip.BondInvestment describe the ElementDesc "shortArray"
:

        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("shortArray");
        elemField.setXmlName(new javax.xml.namespace.QName("", "shortArray"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",
"short"));
        elemField.setNillable(true);
        typeDesc.addFieldDesc(elemField);

The weird thing is that the xml type doesn't match the one in the WSDL :

        <element name="shortArray" nillable="true" type="impl:ArrayOf_xsd_short"/>

Any thoughts ?

> Array deserialization
> ---------------------
>
>          Key: AXIS-1838
>          URL: http://issues.apache.org/jira/browse/AXIS-1838
>      Project: Axis
>         Type: Bug
>   Components: Serialization/Deserialization
>     Versions: 1.2RC3
>  Environment: JOnAS 4.3.3
>     Reporter: Guillaume Sauthier
>     Assignee: Glen Daniels
>     Priority: Blocker
>  Attachments: axis-array-deser-error-patch.txt, diff.patch
>
> When running TCK for JOnAS, sometimes, I fall on array deserialization issue :
> The SOAP Message contains 3 elements of the array, but the constructed array only has
the last element. So its size is 1, instead of 3!
> The problem only occurs when using Array with Helper :
> ArrayofBook
> -> Book[] arrayOfBook
> +
> ArrayOfBook_Helper
> I'll attach a patch for test.holders that reproduce this problem.
> failures will appear for testInOutBookArray

-- 
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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


Mime
View raw message