Questions Tagged With cxfhttps://answers.axonivy.com/tags/cxf/?type=rss&user=Adrian%20Imfeldquestions tagged <span class="tag">cxf</span>enMon, 26 Nov 2018 09:32:33 -0500Apache CXF DateTime Converter with different Timezonehttps://answers.axonivy.com/questions/3560/apache-cxf-datetime-converter-with-different-timezone<p>We have a simple WSDL which holds a datetime attribute. This attribute is converted correctly by the CXF library and holds the Ivy DateTime format in the generated ws class. When we pass a datetime into the ws call, the datetime is formatted as <code>2018-11-26T12:56:52+01:00</code> but the ws provider (in our case SAP) needs the datetime within the UTC timezone, like: <code>2018-11-26T12:56:52Z</code></p> <p>How can we change the format? Is there a simple way, for example to pass the timezone to the Ivy DateTime object? ...or pass a SimpleDateFormat object for the string formatting?</p>Adrian ImfeldMon, 26 Nov 2018 09:32:33 -0500https://answers.axonivy.com/questions/3560/apache-cxf-datetime-converter-with-different-timezonewebservicecxf