cxf-samples.rar
<http://cxf.547215.n5.nabble.com/file/n5756557/cxf-samples.rar>  
I have also tried the option of adding the jaxb:globalbindings
Added:
<?xml version="1.0" encoding="UTF-8"?>
<jxb:bindings xmlns:jaxws="http://java.sun.com/xml/ns/jaxws";
          xmlns:xs="http://www.w3.org/2001/XMLSchema";
          xmlns:jxb="http://java.sun.com/xml/ns/jaxb";>

    <jxb:globalBindings>
        <jxb:javaType name="java.util.Date" xmlType="xs:date"
                      parseMethod="demo.spring.DateAdapter.unmarshall"
                      printMethod="demo.spring.DateAdapter.marshall"/>
                      
        <jxb:javaType name="java.util.DateTime" xmlType="xs:dateTime"
                      parseMethod="demo.spring.DateAdapter.unmarshall"
                      printMethod="demo.spring.DateAdapter.marshall"/>
    </jxb:globalBindings>

</jxb:bindings>
And The DateAdapter.java file too.
But still the same ,

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
   <soap:Body>
      <ns2:getEntityDataResponse xmlns:ns2="http://spring.demo/";>
         <return>
            *<date>2015-04-27T07:59:44.314Z</date>*
         </return>
      </ns2:getEntityDataResponse>
   </soap:Body>
</soap:Envelope>
Attached is the source code, please look into it and let me know if you have
questions.

Thanks
Ashwini K



--
View this message in context: 
http://cxf.547215.n5.nabble.com/Format-of-Date-Field-changed-after-apache-cxf-and-wildfly-upgradation-tp5756208p5756557.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to