ws-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jochen Wiedmann <>
Subject Re: TimeZone
Date Fri, 07 Apr 2006 05:25:02 GMT
Sean Rohead wrote:

> I would like to set the timezone for incoming dates to UTC, but I have
> not been able to figure out how to do this.  I found that XmlRpcClient
> has a setTimeZone method to change the timezone for *outgoing* messages
> and their responses.  However, I have not found anything to do this for
> *incoming* messages.  I have looked at the code in WebServer and it
> doesn't look like this is possible, but can someone please tell me if I
> have missed something.

With version 3, you would create a subclass of TypeFactoryImpl and overwrite
it to handle calendar or date values differently. This works for both client
and server.

With version 2, you can overwrite the XmlRpcClientResponseProcessor to
return a modified version of DefaultTypeFactory.


View raw message