On 30/04/15 12:53, Alessio Soldano wrote:
Hi,
your reproducer didn't help that much (it does not even deploy on
WildFly 8.2.0.Final ;-)), however I've created a similar scenario
testcase, applied an adapter for formatting the date and it all worked
as expected. The sources are committed in JBossWS project, see
http://anonsvn.jboss.org/repos/jbossws/stack/cxf/trunk/modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/date/
Moreover, generally speaking, if you're concerned about the timezone
used in the date exchanged in soap messages, you should likely use
Calendar / XMLGregoriaCalendar and explicitly set it. If you don't want
the timezone to be specified at all, instead, the above solution with
adapter is most likely the proper approach.
Alessio
--
Alessio Soldano
Web Service Lead, JBoss