wood burning stoves 2.0*
The moose likes Web Services and the fly likes Problem With date element in axis2 1.3 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Problem With date element in axis2 1.3" Watch "Problem With date element in axis2 1.3" New topic

Problem With date element in axis2 1.3

sivaram pola

Joined: May 17, 2012
Posts: 1
Hi All,

I am new to axis2. I have generated a service with axis2 1.3 with default adb binding. The client is pushing xmls which contains two date type attributes from and to.

Client is pushing values like this <from>2012-05-21+02:00</from> with the offset value. but when my webservice receives the message i am getting the from element like this <from>2012-05-20+00:00</from>. The data value is decreasing by one day.

This measn some xml serialization/deserialization is happening in the way. Upgrading to a higher axis2 version will solve this iisue?. I dont know how to over come this issue. Please guide me in this regard.

Thanks In Advance.
It is sorta covered in the JavaRanch Style Guide.
subject: Problem With date element in axis2 1.3
Similar Threads
Removing Z/z and time from Calender date
Struts2 datetimepicker
Converting to UTC time zone
convert the "Mon Oct 11 00:00:00 IST 2012" into a Date object
Date Format Issue