axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thiago Leão Moreira <thiagol...@terra.com.br>
Subject Re: Date Serialization by Apache Client.
Date Mon, 18 Nov 2002 11:49:32 GMT

    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.
>>>
>>>
>>>
>>>
>>>
>>>      
>>>
>>    
>>
>
>
>
>  
>


Mime
View raw message