We help IT Professionals succeed at work.

convert to java.util.Calendar

496 Views
Last Modified: 2013-12-24
I am calling a web service that needs a date parameter passed, the data type is java.util.Calendar

I have tried a great variety of formats and seem to be unable to convince the method I am using the needed format.

Can anyone tell me how to get a web service to believe I am passing it a date of type java.util.Calendar  ?

Thanks!
Comment
Watch Question

This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
CERTIFIED EXPERT

Author

Commented:
Thanks Sandy, it didn't work in that format either.   We ended up changing the web service to accept a string and then convert it to date.

Thanks
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.