Error when sending date element
-------------------------------
Key: AXIS-2725
URL: https://issues.apache.org/jira/browse/AXIS-2725
Project: Axis
Issue Type: Bug
Components: Serialization/Deserialization
Affects Versions: 1.4
Environment: --
Reporter: vered gold
Fix For: 1.4
An error accours when I am trying to send a response from server side to client.
It happens only when a date element exist in the response,
I can see that although the the element is Date type it is not deserialized by
DateDeserializer but by SimpleDeserializer.
another thing is that I see in the soap-monitor that the Date field is formated
as a calendar field, rather then yyyy-MM-dd.
<ns3:orderEntryDate date="13" day="1" hours="0" minutes="0" month="7"
seconds="0" time="650494800000" timezoneOffset="-180" year="90" >Mon Aug 13
00:00:00 IDT 1990</ns3:orderEntryDate>
The Error is:
Mar 2, 2008 10:34:00 PM org.apache.axis.client.Call invoke
SEVERE: Exception:
java.lang.IllegalArgumentException
at
org.apache.axis.encoding.ser.SimpleDeserializer.onEndElement(SimpleDeserializer.java:176)
at
org.apache.axis.encoding.DeserializerImpl.endElement(DeserializerImpl.java:502)
at
org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
at
org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:171)
at
org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141)
at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236)
at org.apache.axis.message.RPCElement.getParams(RPCElement.java:384)
at org.apache.axis.client.Call.invoke(Call.java:2467)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
--
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]