java.util.Calendar and java.util.Date

From: Tanglin, Oliver <otanglin_at_ASSET.COM>
Date: Thu, 18 Jul 2002 09:21:37 -0400

I am using the version of JAXRPC that came bundled with JWSDP 1.0.
I'm experimenting with creating a web service from an existing web
Both my web service interface and beans have several methods that take
java.util.Date parameters.
For example: Mission getMission(java.util.Date)
However, when I generate my client side stubs, the method parameter is
converted to java.util.Calendar.
For example: Mission getMission(java.util.Calendar)
Is there a bug in xrpcc that is either generating the wrong WSDL on the
server side
or generating the wrong stubs from the WSDL on the client side?
According to
the documentation both data types are supported by default. I don't
think this is
a configuration issue, since all other data types are working as
Any feedback on this issue would be appreciated.
Oliver Tanglin
SAIC - software engineer
304-284-9000 x215