users@jaxb.java.net

xsd:date and default binding

From: Henri Gomez <henri.gomez_at_gmail.com>
Date: Fri, 2 Feb 2007 13:46:31 +0100

Hi to all,

I'm using JAX-WS 2.1EA3 and JAXB2 to developp some webservices.

My Business Bean are using java.util.Date where only the Date part is usefull.

The WSDL/Schema bind them as xsd:datetime where I'd like to see xsd:date.

I see that we should use XMLGregorianCalendar to have xsd:date but all
my business logic is using Date.

How could I make JAXB2 use xsd:date for Date ?

Regards