In the config snippet on the wsdl2java docs page,
http://cwiki.apache.org/CXF20DOC/wsdl-to-java.html
What does the "YOUR_SCHEMA_LOCATION" below refer to?
Is that a local file path or the path relative to the deployment directory ?
I assume that "schema" refers to the xsd that uses the xsd:dateTime ?
<jxb:bindings version="1.0"
xmlns:jxb="http://java.sun.com/xml/ns/jaxb"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<jxb:bindings schemaLocation="YOUR_SCHEMA_LOCATION" node="/xs:schema">
<jxb:globalBindings xmlns:jxb="http://java.sun.com/xml/ns/jaxb"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<jxb:javaType name="java.util.Date" xmlType="xs:dateTime"
parseMethod="org.apache.cxf.tools.common.DataTypeAdapter.parseDateTime"
printMethod="org.apache.cxf.tools.common.DataTypeAdapter.printDateTime"/>
</jxb:globalBindings>
</jxb:bindings>
</jxb:bindings>
Thanks, Bruce