File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Timestamp problem axis webservices