Illeagl response with RPCMessageReciver
---------------------------------------
Key: AXIS2-1650
URL: http://issues.apache.org/jira/browse/AXIS2-1650
Project: Apache Axis 2.0 (Axis2)
Issue Type: Bug
Components: rpc
Affects Versions: 1.1
Environment: Axis2 1.1 RC2
Reporter: takanori
Attachments: SimpleWrapTypeService.java
Using RPC, there are problems as follows:
------------------------------------------------------------
1. Deserialize java.util.Date
It is failed to deserialize the java.util.Date class.
java.lang.NumberFormatException: badDate00
at
org.apache.axis2.databinding.typemapping.SimpleTypeMapper.makeCalendar(SimpleTypeMapper.java:227)
at
org.apache.axis2.databinding.typemapping.SimpleTypeMapper.getSimpleTypeObject(SimpleTypeMapper.java:95)
at
org.apache.axis2.databinding.utils.BeanUtil.processObject(BeanUtil.java:541)
at
org.apache.axis2.databinding.utils.BeanUtil.ProcessElement(BeanUtil.java:496)
at
org.apache.axis2.databinding.utils.BeanUtil.deserialize(BeanUtil.java:435)
at
org.apache.axis2.rpc.receivers.RPCUtil.processRequest(RPCUtil.java:109)
at
org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:116)
There is a problem in SimpleTypeMapper#getSimpleTypeObject method.
------------------------------------------------------------
2. When the array parameter is null, the array of size 1 is returned.
Please see SimpleWrapTypeService.java
If I set null to arrayParam at client,
The service returns the array of size 1.
--
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]