<?xml version="1.0"?>
<!-- Shows how to replace the difficult to use XMLGregorianCalender with Date -->
<jaxws: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" 
	xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" 
	wsdlLocation="CustomerService.wsdl">
    <!-- <jaxws:enableAsyncMapping>true</jaxws:enableAsyncMapping> -->
    <jaxws:bindings node="wsdl:definitions/wsdl:types/xs:schema">
        <jxb:globalBindings>
            <jxb:javaType name="java.util.Date" xmlType="xs:dateTime" parseMethod="org.apache.cxf.xjc.runtime.DataTypeAdapter.parseDateTime" printMethod="org.apache.cxf.xjc.runtime.DataTypeAdapter.printDateTime"/>
            <jxb:javaType name="java.util.Date" xmlType="xs:date" parseMethod="org.apache.cxf.xjc.runtime.DataTypeAdapter.parseDate" printMethod="org.apache.cxf.xjc.runtime.DataTypeAdapter.printDate"/>
        </jxb:globalBindings>
    </jaxws:bindings>
</jaxws:bindings>
