Hi,
a simple typeMapping in your server-config.wsdd would help, i think.
<typeMapping qname="urn:Calendar"
xmlns:urn="http://util.java"
type="java:java.util.Calender"
serializer="your.serializerfactory"
deserializer="your.deserializerfactory"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
Thiago Le�o Moreira wrote:
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" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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.