Independentsoft
- any library, any programming language
Home
Purchase
Support
Company
Contact
JWebDAV for Exchange
>
Tutorial
> Cancel meeting
The following example shows you how to cancel meeting. Only meeting organizer can cancel meeting.
import com.independentsoft.webdav.exchange.Appointment; import com.independentsoft.webdav.exchange.WebdavClient; import com.independentsoft.webdav.exchange.WebdavException; public class Example { public static void main(final String[] args) { try { WebdavClient client = new WebdavClient("https://myserver/exchange/emailaddress", "username", "password"); Appointment appointment1 = client.getAppointment("https://myserver/exchange/emailaddress/Calendar/Test-1263467739892.eml"); client.cancelMeeting(appointment1); } catch (WebdavException e) { e.printStackTrace(); } } }