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 "Vesa Luomala (JIRA)" <ax...@ws.apache.org> on 2007/05/30 14:35:15 UTC
[jira] Updated: (AXIS-2669) java.lang.ArrayStoreException if you
have methods that return same object type in array and single type
[ https://issues.apache.org/jira/browse/AXIS-2669?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vesa Luomala updated AXIS-2669:
-------------------------------
Description:
I have noticed the following problem:
If I return the same Object both in array and as single value list, or if I have same dataobject, then the method which returns an array does not work from client side but throws:
java.lang.ArrayStoreException: xx.yy.types.ProgramCard
org.apache.axis.utils.JavaUtils.convert(JavaUtils.java:493)
org.apache.axis.client.Call.invoke(Call.java:2537)
org.apache.axis.client.Call.invoke(Call.java:2366)
org.apache.axis.client.Call.invoke(Call.java:1812)
How the case is build
was:
I have noticed the following problem:
If I return the same Object both in array and as single value list, or if I have same dataobject, then the method which returns an array does not work from client side but throws:
java.lang.ArrayStoreException: com.teliasonera.paytv.ws.types.ProgramCard
org.apache.axis.utils.JavaUtils.convert(JavaUtils.java:493)
org.apache.axis.client.Call.invoke(Call.java:2537)
org.apache.axis.client.Call.invoke(Call.java:2366)
org.apache.axis.client.Call.invoke(Call.java:1812)
> java.lang.ArrayStoreException if you have methods that return same object type in array and single type
> -------------------------------------------------------------------------------------------------------
>
> Key: AXIS-2669
> URL: https://issues.apache.org/jira/browse/AXIS-2669
> Project: Axis
> Issue Type: Bug
> Components: Basic Architecture
> Affects Versions: 1.4
> Environment: JBoss 4.0.5, JDK 1.5.0.11, XP
> Reporter: Vesa Luomala
>
> I have noticed the following problem:
> If I return the same Object both in array and as single value list, or if I have same dataobject, then the method which returns an array does not work from client side but throws:
> java.lang.ArrayStoreException: xx.yy.types.ProgramCard
> org.apache.axis.utils.JavaUtils.convert(JavaUtils.java:493)
> org.apache.axis.client.Call.invoke(Call.java:2537)
> org.apache.axis.client.Call.invoke(Call.java:2366)
> org.apache.axis.client.Call.invoke(Call.java:1812)
> How the case is build
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org