简体   繁体   English

日期的Apache CXF时区

[英]Apache CXF timezone for date

I have received a wsdl from one of our customer and generated the java code (using apache cxf 3.0.3). 我已经从一位客户那里得到了wsdl,并生成了Java代码(使用apache cxf 3.0.3)。 Using soap ui I can send requests and receive proper response against customer backend. 使用soap ui,我可以发送请求并收到针对客户后端的适当响应。

In the request there are several fields defined as datetime. 在请求中,有几个字段定义为日期时间。 What conversion uses apache cxf to handle datetime types ? 哪些转换使用apache cxf处理日期时间类型? Is it following ISO 8601 with UTC ? 是否遵循带有UTC的ISO 8601?

In CXF 2.5.10 the dateformat with utc was yyyy-mm-ddThh:mm:ss.000Z. 在CXF 2.5.10中,使用utc的日期格式为yyyy-mm-ddThh:mm:ss.000Z。 Think that maybe they use jodatime 认为他们可能使用jodatime

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM