Issue Description: 
•      The date format in the API response has changed, after the CXF and
Wildfly upgrade. 
•       This issue is affecting all date fields in the response from the API.

Approaches Tried:
•       The suggested approach is to use @XmlJavaTypeAdapter annotation with
custom date time formatter at field level.  This solution has to be applied
at every java.util.Date field in all APIs
•       The ideal solution would be to put global configuration for JAXB to
customize the java.util.Date serializer
•       But so far we couldn’t get a working solution to apply this global
configuration.
As Wildfly 8 is not using JAXB Reference Implementation,the fix we found
also did not help us.

Before Up gradation:
2011-07-16T00:00:00-05:00

After Up gradation:
2011-07-16T00:00:00Z


Some More Info:
which version of the software:apache CXF version 3.0.2
what platform and JDK:jdk1.8.0_31
Any particular container being used - Wildfly8.2.0

Please provide me a solution to this.



--
View this message in context: 
http://cxf.547215.n5.nabble.com/Format-of-Date-Field-changed-after-apache-cxf-and-wildfly-upgradation-tp5756208.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to