1. CXF利用wsdl2java生成客户端时Date日期类型转换
http://cwfmaker.iteye.com/blog/1142835
2. GregorianCalendar cal = new GregorianCalendar();
cal.setTime(new Date());
XMLGregorianCalendar gc = null;
try {
gc = DatatypeFactory.newInstance().newXMLGregorianCalendar(cal);
对象.setCreateTime(gc);
} catch (DatatypeConfigurationException e1) {
e1.printStackTrace();
}