Java API to send calendar request