Return-Path: Delivered-To: apmail-xml-axis-user-archive@xml.apache.org Received: (qmail 26572 invoked by uid 500); 18 Nov 2002 11:48:17 -0000 Mailing-List: contact axis-user-help@xml.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@xml.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list axis-user@xml.apache.org Received: (qmail 26560 invoked from network); 18 Nov 2002 11:48:16 -0000 Message-ID: <3DD8D3CC.9050000@terra.com.br> Date: Mon, 18 Nov 2002 09:49:32 -0200 From: =?ISO-8859-1?Q?Thiago_Le=E3o_Moreira?= User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en-us, en MIME-Version: 1.0 To: axis-user@xml.apache.org Subject: Re: Date Serialization by Apache Client. References: <000401c28ba5$93ef6680$0202a8c0@zermatt> <3DD3A177.8040902@terra.com.br> <005601c28bef$355d0b50$0202a8c0@zermatt> Content-Type: multipart/alternative; boundary="------------070006080008050905010200" X-OriginalArrivalTime: 18 Apr 2002 12:48:22.0608 (UTC) FILETIME=[52E37500:01C1E6D7] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N --------------070006080008050905010200 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Hi I'm sorry, but it was not this that I wanted to know, I try again. How can I replace org.apache.axis.encoding.ser.CalendarSer/Deserializer for my own CalendarSer/Deserializer ??? Thiago Steve Loughran wrote: >It should be there already. If it isnt in Axis 1.0, get the CVS version > >----- Original Message ----- >From: "Thiago Le�o Moreira" >To: >Sent: Thursday, November 14, 2002 05:13 >Subject: Re: Date Serialization by Apache Client. > > > > >> Hi >> >> Does any one know if is possible write a Serializer for >>java.util.Calendar ??? >> >> Thiago >> >>Steve Loughran wrote: >> >> >> >>>----- Original Message ----- >>>From: "Ramaswamy, Muthu" >>>To: >>>Sent: Wednesday, November 13, 2002 18:22 >>>Subject: RE: Date Serialization by Apache Client. >>> >>> >>> >>> >>> >>> >>>>I am in PST Timezone. The ZONE_OFFSET: is -8:00 hours. >>>> >>>>So I would expect to see a Timestamp with Time Zone of "2002-11-11 >>>> >>>> >>>> >>>> >>>00:00:00 >>> >>> >>> >>> >>>>-8:00" for the Date "2002-11-11" with 00:00:00 time component. >>>> >>>>Looks like it adds 8:00 hours to refer it to GMT time. >>>> >>>> >>>> >>>> >>>java.util.Date has to TZ info, so expect confusion wherever it gets >>>received; axis' assumptions may be different from others >>> >>>use the Calendar class, and explicitly set your TZ. It also gets >>> >>> >marshalled > > >>>as an xsd:date, but the TZ is correct. >>> >>> >>> >>> >>> >>> >>> >> >> > > > > > --------------070006080008050905010200 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit
    Hi

    I'm sorry, but it was not this that I wanted to know, I try again.

    How can I replace org.apache.axis.encoding.ser.CalendarSer/Deserializer for my own CalendarSer/Deserializer ???

    Thiago

Steve Loughran wrote:
It should be there already. If it isnt in Axis 1.0, get the CVS version

----- Original Message -----
From: "Thiago Leão Moreira" <thiagoleao@terra.com.br>
To: <axis-user@xml.apache.org>
Sent: Thursday, November 14, 2002 05:13
Subject: Re: Date Serialization by Apache Client.


  
    Hi

    Does any one know if is possible write a Serializer for
java.util.Calendar ???

    Thiago

Steve Loughran wrote:

    
----- Original Message -----
From: "Ramaswamy, Muthu" <mramaswamy@gers.com>
To: <axis-user@xml.apache.org>
Sent: Wednesday, November 13, 2002 18:22
Subject: RE: Date Serialization by Apache Client.




      
I am in PST Timezone. The ZONE_OFFSET: is -8:00 hours.

So I would expect to see a Timestamp with Time Zone of "2002-11-11


        
00:00:00


      
-8:00" for the Date "2002-11-11" with 00:00:00 time component.

Looks like it adds 8:00 hours to refer it to GMT time.


        
java.util.Date has to TZ info, so expect confusion wherever it gets
received; axis' assumptions may be different from others

use the Calendar class, and explicitly set your TZ. It also gets
      
marshalled
  
as an xsd:date, but the TZ is correct.





      
    



  

--------------070006080008050905010200--