Hi All-
When I pass the Date with time component set to 00:00:00, Apache Client
after serialization adds 8:00 hours to the time portion?
Do I have specify any special format or is it due to some kind of bug in
serializer?.
Here is a sample code I am using on the Axis Client
======================================
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
String textDate = "2002-11-11"; //required 10/29/2002 7:20:59 PM.
Date requestDt = null;
try
{
requestDt = sdf.parse(textDate);
}
catch (Exception e)
{
System.out.println("Exception in Parsing Date");
}
When I pass the above date, after Serialization, the output is:
============================================
<requestDt>2002-11-11T08:00:00.000Z</requestDt>
I would expect to see 2002-11-11T00:00:00.000Z . Appreciate any input to
resolve the problem.
Thanks.,
-Muthu