• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Timestamp problem axis webservices

 
maha laxmi
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic