You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Eugeny Bakun <eu...@gmail.com> on 2008/09/26 07:34:23 UTC

How disable auto converting date

 Hello, all!
I have some trouble, in my project I use axis for transport data between to
user wich work in different time zone. I sent java.util.Date object and it
convert to current timezone, how I can disable what?
Me need : if I send 24/09/2008 00:00 -> 24/09/2008 00:00
now          if I send 24/09/2008 00:00 -> 23/09/2008 16:00

-- 
Best regards, Evgeny Bakun

Re: How disable auto converting date

Posted by David Ojeda <do...@integra.la>.
I've had some experience with this kind of date-issues, I would recommend 
changing the wsdl or xsd using xs:dateTime as the type for this data. This way 
you could use a Calendar. Calendars manage the timezone easily and correctly.

On Friday 26 September 2008 01:04:23 Eugeny Bakun wrote:
>  Hello, all!
> I have some trouble, in my project I use axis for transport data between to
> user wich work in different time zone. I sent java.util.Date object and it
> convert to current timezone, how I can disable what?
> Me need : if I send 24/09/2008 00:00 -> 24/09/2008 00:00
> now          if I send 24/09/2008 00:00 -> 23/09/2008 16:00

-- 
Ing. David Ojeda
Integra Consultores
Caracas, Venezuela

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