0 Replies Latest reply: Sep 12, 2013 7:41 AM by shelen
shelen Level 1 Level 1 (0 points)

I want to add / retrieve event to the Icalendar threw caldav4j jar classes . Can I do that what would be the event request URL


Retrieve Events :




HttpClient http = new HttpClient();

    http.getState().setCredentials(new AuthScope("p06-caldav.icloud.com", 443,"https"), credentials);  



    HostConfiguration hostconfig = http.getHostConfiguration();


    hostconfig.setHost("p06-caldav.icloud.com", 443, "https");



CalendarCalDAVReportMethod method = factory1.createCalendarCalDAVReportMethod();





<C:calendar-query xmlns:C="urn:ietf:params:xml:ns:caldav">

<D:prop xmlns:D="DAV:">




<C:comp name="VCALENDAR">

<C:comp name="VEVENT"/>





<C:comp-filter name="VCALENDAR"/>




But Iam getting bad request . Can any body help me out on this

iPhone 4