You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Sebastian Mittelstädt (JIRA)" <ax...@ws.apache.org> on 2005/06/06 14:47:40 UTC

[jira] Created: (AXIS-2040) CLONE -Array deserialization

CLONE -Array deserialization
----------------------------

         Key: AXIS-2040
         URL: http://issues.apache.org/jira/browse/AXIS-2040
     Project: Axis
        Type: Bug
  Components: Serialization/Deserialization  
    Versions: 1.2RC3    
 Environment: JOnAS 4.3.3
    Reporter: Sebastian Mittelstädt
 Assigned to: Glen Daniels 
    Priority: Blocker


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


[jira] Resolved: (AXIS-2040) CLONE -Array deserialization

Posted by "Davanum Srinivas (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS-2040?page=all ]
     
Davanum Srinivas resolved AXIS-2040:
------------------------------------

    Resolution: Duplicate

duplicate of AXIS-1985

> CLONE -Array deserialization
> ----------------------------
>
>          Key: AXIS-2040
>          URL: http://issues.apache.org/jira/browse/AXIS-2040
>      Project: Axis
>         Type: Bug
>   Components: Serialization/Deserialization
>     Versions: 1.2RC3
>  Environment: JOnAS 4.3.3
>     Reporter: Sebastian Mittelstädt
>     Assignee: Guillaume Sauthier
>     Priority: Blocker

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


[jira] Commented: (AXIS-2040) CLONE -Array deserialization

Posted by "David Rolfe (JIRA)" <ax...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS-2040?page=comments#action_12312748 ] 

David Rolfe commented on AXIS-2040:
-----------------------------------

This looks like the same bug as Axis-1985 ( http://issues.apache.org/jira/browse/AXIS-1985 ) . A test case is available for 1985. 

> CLONE -Array deserialization
> ----------------------------
>
>          Key: AXIS-2040
>          URL: http://issues.apache.org/jira/browse/AXIS-2040
>      Project: Axis
>         Type: Bug
>   Components: Serialization/Deserialization
>     Versions: 1.2RC3
>  Environment: JOnAS 4.3.3
>     Reporter: Sebastian Mittelstädt
>     Assignee: Glen Daniels
>     Priority: Blocker

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


[jira] Assigned: (AXIS-2040) CLONE -Array deserialization

Posted by "Davanum Srinivas (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS-2040?page=all ]

Davanum Srinivas reassigned AXIS-2040:
--------------------------------------

    Assign To: Guillaume Sauthier  (was: Glen Daniels)

Assigning to Guillaume.

> CLONE -Array deserialization
> ----------------------------
>
>          Key: AXIS-2040
>          URL: http://issues.apache.org/jira/browse/AXIS-2040
>      Project: Axis
>         Type: Bug
>   Components: Serialization/Deserialization
>     Versions: 1.2RC3
>  Environment: JOnAS 4.3.3
>     Reporter: Sebastian Mittelstädt
>     Assignee: Guillaume Sauthier
>     Priority: Blocker

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


[jira] Commented: (AXIS-2040) CLONE -Array deserialization

Posted by "Sebastian Mittelstädt (JIRA)" <ax...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS-2040?page=comments#action_12312743 ] 

Sebastian Mittelstädt commented on AXIS-2040:
---------------------------------------------

Array deseralisation still seems to be broken in Axis 1.2 stable as well as in 1.2.1 nightly (06/06/205), so I reopen this issue.

Generated WSDL  by JAVA2WSDL (short-array):

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


WSDL on deployed service:

<element name="duration" nillable="true" type="xsd:short"/>





> CLONE -Array deserialization
> ----------------------------
>
>          Key: AXIS-2040
>          URL: http://issues.apache.org/jira/browse/AXIS-2040
>      Project: Axis
>         Type: Bug
>   Components: Serialization/Deserialization
>     Versions: 1.2RC3
>  Environment: JOnAS 4.3.3
>     Reporter: Sebastian Mittelstädt
>     Assignee: Glen Daniels
>     Priority: Blocker

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


[jira] Commented: (AXIS-2040) CLONE -Array deserialization

Posted by "Guillaume Sauthier (JIRA)" <ax...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS-2040?page=comments#action_12312746 ] 

Guillaume Sauthier commented on AXIS-2040:
------------------------------------------

Hmm

Can this be more elaborated ?
Do you get some Exceptions ?
Can you provide a TestCase that reproduce the problem?

Thanks
Guillaume

> CLONE -Array deserialization
> ----------------------------
>
>          Key: AXIS-2040
>          URL: http://issues.apache.org/jira/browse/AXIS-2040
>      Project: Axis
>         Type: Bug
>   Components: Serialization/Deserialization
>     Versions: 1.2RC3
>  Environment: JOnAS 4.3.3
>     Reporter: Sebastian Mittelstädt
>     Assignee: Glen Daniels
>     Priority: Blocker

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