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 ax...@ws.apache.org on 2004/09/29 17:15:33 UTC
[jira] Closed: (AXIS-1575) when sending DateTime data, number of hours in Calendar is not being sent properly
Message:
The following issue has been closed.
Resolver: Tom Jordahl
Date: Wed, 29 Sep 2004 8:14 AM
Ashutosh is correct, this is worked as designed.
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/AXIS-1575
Here is an overview of the issue:
---------------------------------------------------------------------
Key: AXIS-1575
Summary: when sending DateTime data, number of hours in Calendar is not being sent properly
Type: Bug
Status: Closed
Priority: Minor
Resolution: CANNOT REPRODUCE
Project: Axis
Components:
Serialization/Deserialization
Versions:
beta-2
Assignee:
Reporter: sreeram
Created: Tue, 28 Sep 2004 8:17 AM
Updated: Wed, 29 Sep 2004 8:14 AM
Description:
when creating a Calendar object as follows
java.util.Calendar cal = new java.util.GregorianCalendar();
cal.set(Calendar.YEAR, 2001);
cal.set(Calendar.MONTH, Calendar.DECEMBER);
cal.set(Calendar.DATE, 17);
cal.set(Calendar.HOUR, 0);
cal.set(Calendar.HOUR_OF_DAY, 0);
cal.set(Calendar.MINUTE, 0);
cal.set(Calendar.SECOND, 0);
cal.set(Calendar.MILLISECOND, 0);
we are setting the Hours to 0.
The format being used is new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss'.'S'Z'");
But when the Request is being sent over the Wire using Axis 1_2beta tools , the End Point Service is receiving the dateTime data as
<TradeDate xmlns="">2001-12-17T05:00:00.000Z</TradeDate>
the number of hours is being incremented by 5. And because of that , the correct trade is not being identified in the Database. we are in the EST TimeZone.
How do we resolve this issue? Any suggestions or tips is greatly appreciated.
Regards,
Sree
---------------------------------------------------------------------
JIRA INFORMATION:
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
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira