On 13 Aug 2009, at 22:50, Aggarwal, Ajay wrote:

Without enabling the extensions, is there a way to correctly map my
"java.util.Date" java type to a true "ISO8601" value? As mentioned on
this page (http://ws.apache.org/xmlrpc/types.html) when the
java.util.Date field gets sent on the wire, its missing the important
timezone information. And as a result the other side (which I don't have
control over) thinks I am off by 4 hours. The other side also does not
understand extensions. So enabling extensions is not an option.



Any other clever workaround/suggestion from folks who might have already
dealt with this issue?



As Jochen has said, the spec does not allow the sending of timezone information.

The safest option is to use the timezone of the other end when sending and receiving time data. If you violate the spec then you may not get support from the people running the service if you have problems.

John Wilson

Reply via email to