axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Manuel Mall <man...@apache.org>
Subject Re: Problem sending Date between web services
Date Thu, 31 Aug 2006 00:05:10 GMT
On Thursday 31 August 2006 01:35, HHDirecto.Net wrote:
> Thanks Martin, but my client, and my web service server are the same
> PC, and it is in spain with correct timezone...
>
>
> ----- Original Message -----
> From: Martin  <mailto:mgainty@hotmail.com> Gainty
> To: axis-user@ws.apache.org <mailto:axis-user@ws.apache.org>
> Sent: Wednesday, August 30, 2006 2:53 PM
> Subject: Re: Problem sending Date between web services
>
> Sounds as if you're pulling the Sysdate from server location in a
> different tz
> Be aware that Indiana and Arizona have some very unusual rules for
> treating EDT/EST
> Also some locations in India are 1/2 hour off from normal 1 hour
> difference--
>
> Anyone else?
> Martin --
> *********************************************************************
> This email message and any files transmitted with it contain
> confidential
> information intended only for the person(s) to whom this email
> message is
> addressed.  If you have received this email message in error, please
> notify
> the sender immediately by telephone or email and destroy the original
> message without making a copy.  Thank you.
>
>
>
>
> ----- Original Message -----
> From: HHDirecto.Net <mailto:hhdirecto@gmail.com>
> To: axis-user@ws.apache.org <mailto:axis-user@ws.apache.org>
> Sent: Wednesday, August 30, 2006 8:11 AM
> Subject: Problem sending Date between web services
>
> I have an axis 1.4 webservice,
> when My .net client send 1978-12-11T10:30:13 , in java code of web
> service I do a System.out.println and I get Mon Dec 11 11:30:13 CET
> 1978. Always 1 hour more.
> And when my axis webservice  println I get 2006-08-30 02:11:12.0, It
> send webservice response as 2006-08-30T 00:11:12.000Z , 2 hours less,
> and sometimes one hour less.
>

You are in Spain and in the CET timezone (GMT + 1) which atm is on 
summer time which makes it CEST (GMT + 2). So in the first example you 
give 1978-12-11T10:30:13 (which has no timezone info and is therefore 
assumed to be GMT) correctly displays as  Mon Dec 11 11:30:13 CET
 1978. In the second example 2006-08-30 02:11:12.0 local time (which is 
CEST) corresponds to 2006-08-30T00:11:12.000Z (GMT).

In summary I can't see anything wrong here.

> Do you know the problem?
>
> Thanks

Manuel

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message