Axis xsd:dateTime issue

Posted by milostrivun on Stack Overflow See other posts from Stack Overflow or by milostrivun
Published on 2010-06-02T13:33:04Z Indexed on 2010/06/02 13:33 UTC
Read the original article Hit count: 213

Filed under:
|

Here is the whole thing. I 'm using a webservice, with wsdl2java I generate classes and communicate with another application. Problem is , when I use a method from my generated WS client that is resulting in data that contains some object with data in format xsd:dateTime(Axis 1.4), and that data is represensted by java.util.Calendar object in java has time shifted to GMT(about two hours before my time zone). That results in bad data that I have to substract two hours to display correct value. My question is, considering I didn't work on building that webservice(all I have is wsdl url) where is the problem and can I fix it or the problem is at the side of the webservice creator. If I'm it is not clear what I am asking I will gladly explain as much as I can.

© Stack Overflow or respective owner

Related posts about java

Related posts about axis