Skip to Content
0
Former Member
Jan 02, 2008 at 05:48 AM

java.sql.Date converts to java.util.GregorianCalendar in webservice

43 Views

Hi All

I have created a session bean having a business method saveInfo. The method contains a parameter dtDoB of type java.sql.Date. On exposing the bean as webservice, the type gets converted to java.util.GregorianCalendar.

Cant it remain as java.sql.Date so that i can import the webservice as model in webdynpro and bind the context to an inputfield.

If the context is of type java.util.GregorianCalendar then i am not able to bind it with an inputfield in webdynpro.

Please help. Its urgent.

Points will be awarded.

Regards

Sonal