date problem in webservice

hi all,

i have a date field in DTO. when the field is retrieved using webservice it returns a invalid timestamp. i'm using java.util.Date.

for example i'm setting the date field with sysdate when retrieved using websercice it returns yesterday's date with invalid time like this :

"2006-12-25T18:30:00" .

the expected response is : 2006-12-26

but its returning the above invalid date.

has anyone came across this before

thomas

[479 byte] By [java_forumgroupsa] at [2007-11-26 13:31:47]
# 1
Yes. I assume that the server is in a different timezone.
ChuckBinga at 2007-7-7 20:39:39 > top of Java-index,Core,Core APIs...