I think if the schema states xsd:dateTime and the java object is an
instanceof Date, it should work
Alexey Loubyansky wrote:
I thought for a custom type there should be binding customization?
Alexey
Thomas Diesler wrote:
> Alex,
>
> did you see this. The change is trivial and a patch is provided.
>
> ClassCastException when trying to marshal a subclass of Date
>
http://jira.jboss.org/jira/browse/JBWS-800
>
> For the 1.2.0 release, we have code freeze this Thu, 18-Jan-2007. The
> release date is 1-Feb-2007.
>
> cheers
> -thomas
>
--
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Thomas Diesler
Web Service Lead
JBoss, a division of Red Hat
xxxxxxxxxxxxxxxxxxxxxxxxxxxx