array in POJO causes ClassCastException
---------------------------------------
Key: AXIS2-1687
URL: http://issues.apache.org/jira/browse/AXIS2-1687
Project: Apache Axis 2.0 (Axis2)
Issue Type: Bug
Components: rpc
Reporter: Kinichiro Inoguchi
I checked this with Axis2 1.1 RC2.
In case returned Java Beans contains array,
java.lang.ClassCastException had occurred.
2006/11/12 21:25:45 org.apache.axis2.rpc.receivers.RPCMessageReceiver
invokeBusinessLogic
: Exception occurred while trying to invoke service method sayHelloArray
java.lang.ClassCastException
at
org.apache.axis2.databinding.utils.BeanUtil.getPullParser(BeanUtil.java:117)
at
org.apache.axis2.rpc.receivers.RPCUtil.processResponse(RPCUtil.java:90)
at
org.apache.axis2.rpc.receivers.RPCUtil.processResponse(RPCUtil.java:192)
at
org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:136)
at
org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.receive(AbstractInOutSyncMessageReceiver.java:39)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:496)
...
You can reproduce this problem with attached ArrayInPojo.aar.
After deploying this aar, call service by REST,
http://localhost:8080/axis2/rest/ArrayInPojo/sayHelloArray?inParam=2
If returned Java Beans contains no array, it works fine.
You can confirm this by
http://localhost:8080/axis2/rest/ArrayInPojo/sayHello?inParam=2
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]