File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Head First Android 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
It's not a secret anymore!