This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Web Services and the fly likes Timestamp problem axis webservices Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Timestamp problem axis webservices " Watch "Timestamp problem axis webservices " New topic
Author

Timestamp problem axis webservices

maha laxmi
Ranch Hand

Joined: Sep 23, 2005
Posts: 68
I have a variable in VO object is

private Timestamp EMPDate;



<typeMapping deserializer="org.apache.axis.encoding.ser.CalendarDeserializerFactory" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" qname="ns19:java.util.Calendar" serializer="org.apache.axis.encoding.ser.CalendarSerializerFactory" type="java:java.util.Calendar" xmlns:ns19="urn:EmpTest"/>


i have written custom serializer in deploy.wsdd;still when i run the client i am getting this exception;for information,while inserting into employeemaster sysdate is inserting in EMPDATE column;

[java] employees =xxxxxxxxxxx 353535.0 - fsfsfsfs - java.util.GregorianCalendar[time=1154600555000,areFieldsSet=true,areAllFieldsSet=true,lenient=true,zone
=sun.util.calendar.ZoneInfo[id="GMT",offset=0,dstSavings=0,useDaylight=false,transitions=0,lastRule=null],firstDayOfWeek=1,minimalDaysInFirstWeek=1,ERA=1,YEAR=2
006,MONTH=7,WEEK_OF_YEAR=31,WEEK_OF_MONTH=1,DAY_OF_MONTH=3,DAY_OF_YEAR=215,DAY_OF_WEEK=5,DAY_OF_WEEK_IN_MONTH=1,AM_PM=0,HOUR=10,HOUR_OF_DAY=10,MINUTE=22,SECOND=
35,MILLISECOND=0,ZONE_OFFSET=0,DST_OFFSET=0]
 
Don't get me started about those stupid light bulbs.
 
subject: Timestamp problem axis webservices
 
Similar Threads
IReports Error
java.lang.OutOfMemoryError
date format
java.sql getTimestamp
timezone conversion using DST