[ https://issues.apache.org/jira/browse/CXF-4003?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Kulp resolved CXF-4003. ------------------------------ Resolution: Fixed Fix Version/s: 2.5.2 Patch applied, but I also added Calendar to the dateTime list. > XmlSchemaPrimitiveUtils covers date/time types > ---------------------------------------------- > > Key: CXF-4003 > URL: https://issues.apache.org/jira/browse/CXF-4003 > Project: CXF > Issue Type: Improvement > Affects Versions: 2.5, 2.5.1 > Reporter: Matthias Brandt > Assignee: Daniel Kulp > Priority: Minor > Labels: date, time, xmltype > Fix For: 2.5.2 > > Original Estimate: 1h > Remaining Estimate: 1h > > Can you please add some mapping for date/time types in > org.apache.cxf.common.util.XmlSchemaPrimitiveUtils? > I suggest this: > {code} > registerPrimitiveClasses("dateTime", java.sql.Date.class, > java.util.Date.class, java.sql.Timestamp.class); > registerPrimitiveClasses("time", java.sql.Time.class); > {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira