users@jax-rpc.java.net

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
application.
Both my web service interface and beans have several methods that take
java.util.Date parameters.
 
For example: Mission getMission(java.util.Date)
                        Mission.setMissionDate(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)
                    Mission.setMissionDate(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
expected.
 
Any feedback on this issue would be appreciated.
Thanks,
 
Oliver Tanglin
SAIC - software engineer
304-284-9000 x215
otanglin_at_asset.com
oliver.tanglin_at_saic.com