I have came across the next problem.
I am developing a web service and I have declared a parameter to get a date. This parameter is called "createdOn" and I have declared it as "dateTime".
I have a few actions before to create a register with this value when it throws this error:
04 Dec 2013 16:49:43,965 ERROR [http-nio-8080-exec-2] (com.webratio.units.operation.rtx.db.CreateUnitService_$$_javassist_11:72) - [D7A9FFCE89709C6A67AC032453271D97][miu1j][opm7j][miu3j][opm3x][miu6x][opm4x][miu8x][opm1][cru1]Could not execute service
org.apache.commons.beanutils.ConversionException: String must be in JDBC format [yyyy-MM-dd HH:mm:ss.fffffffff] to create a java.sql.Timestamp
The table file is "timestamp".
The request XML is like this:
I thought that my "Solicit Unit" would parse this param to "Date" but it doesn't.
The "Time Unit" doesn't really help. It throws this error:
04 Dec 2013 17:46:58,501 ERROR [http-nio-8080-exec-8] (com.webratio.units.utility.rtx.TimeUnitService_$$_javassist_5:72) - [B750EB9EB268697CA2A12A2828D43B5E][tmu1j]Could not parse input value
java.text.ParseException: Unparseable date: "2009-07-10T12:40Z"
So, what could be the best way to face this?
Thanks in advance!