I have two SOAP and Rest webservices both has a field called CreatedDate. I am getting date from the DB and setting to the Date field of Java class. There are two different Output object for each service. But when I access these services from the SOAP UI, I am getting different format of time.
From SOAP: 2014-06-02T03:05:34-05:00
From Rest: 2014-06-02T08:05:34Z
Both are same time coming from same DB cell. But format is different. I am using CXF for both WS with spring. I want both in first format.
Thanks