users@jax-rpc.java.net

Re: Util.Date and Util.Calandar

From: Doug Kohlert <Doug.Kohlert_at_Sun.COM>
Date: Mon, 15 Mar 2004 09:21:22 -0800

Richard,
This happens because both Date and Calendar get bound to the same schema
type xsd:date.
and according to the JAXRPC spec. xsd:date is bound only to Calendar
when going from schema to Java.

Richard Glover-Davies wrote:

> Hi,
>
> I have got a JAX-RPC web service that passes Javabeans. One of the
> Java Beans has a Util.Date attribute, but when you compile the client
> side it complains that it requires a Util.Calandar instead, does any
> one know why this is happening,
>
> Thanks,
>
> Richard Glover-Davies
>

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Doug Kohlert
Sun Microsystems, Inc.            
503-345-9806  
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NOTICE:  This email message is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information.  Any unauthorized review, use, disclosure or
distribution is prohibited.  If you are not the intended
recipient, please contact the sender by reply email and destroy
all copies of the original message.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jax-rpc.dev.java.net
For additional commands, e-mail: users-help_at_jax-rpc.dev.java.net