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 "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org> on 2007/05/31 11:08:15 UTC
[jira] Resolved: (AXIS2-2717) Cannot receive DateTime field contain
in milosecond part more than three digits
[ https://issues.apache.org/jira/browse/AXIS2-2717?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Amila Chinthaka Suriarachchi resolved AXIS2-2717.
-------------------------------------------------
Resolution: Fixed
Fixed the issue as described. Please have a test with a nightly build.
> Cannot receive DateTime field contain in milosecond part more than three digits
> -------------------------------------------------------------------------------
>
> Key: AXIS2-2717
> URL: https://issues.apache.org/jira/browse/AXIS2-2717
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: adb
> Affects Versions: 1.2, nightly
> Environment: All
> Reporter: Wlodzimierz Dutkiewicz
>
> When client, generated as adb, receive DateTime contain in milisecond part more than three digits (for example: 2007-05-25T12:52:21.000000000+02:00) Axis2 return Exception: Unparseable date: "2007-05-25T12:52:21.000000000GMT+02:00".
> This happends, because in source code adb/src/org/apache/axis2/databinding/utils/ConverterUtils.java class SimpleDateFormat in any places is created using three digits in format string (f.e. "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'").
> I suggest lenghten miliseconds format string to nine digits (f.e. "yyyy-MM-dd'T'HH:mm:ss.SSSSSSSSS'Z'").
> This change was tested by me and I didn't notice any problems.
> Best regards
> WD
--
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