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 "vered gold (JIRA)" <ax...@ws.apache.org> on 2008/03/02 23:01:51 UTC
[jira] Updated: (AXIS-2725) Error when sending date element
[ https://issues.apache.org/jira/browse/AXIS-2725?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
vered gold updated AXIS-2725:
-----------------------------
Attachment: xsd_snip.txt
deploy.wsdd
soap-request.xml
Attached the relevant documents:
1) response
2) wsdd
3) xsd snippet
> 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
>
> Attachments: deploy.wsdd, soap-request.xml, xsd_snip.txt
>
>
> 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org