[ https://issues.apache.org/jira/browse/CXF-4003?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matthias Brandt updated CXF-4003: --------------------------------- Description: 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} was: 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} > 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 > Priority: Minor > Labels: date, time, xmltype > 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