Hi all,
I need to connect to the Apple iCal Server,I use the ical4j-connector however I could not find any doc or examples of this .
I try to connect to the Apple iCal Server however get a error ‘org.apache.commons.httpclient.auth.AuthenticationException: basic authorization challenge expected, but not found’
this is my code:
URL url = new URL("https", "www.google.com", -1, "");
CalDavCalendarStore store =
new CalDavCalendarStore("-//MacTI//WOCal//EN", url, PathResolver.GCAL);
store.connect("lusenx@gmail.com", "*".toCharArray());
List<CalDavCalendarCollection> collectons = store.getCollections();
what the matter?
thanks.
Last edit: Vincent 2013-07-30
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
sorry,
My target is connect to the Apple iCal Server,but connet failure,so I try connet the GooGle Calendar however connect is failure too,
this is my code:
// URL url = new URL("https", "106.187.47.147", "8843");
// CalDavCalendarStore store =
// new CalDavCalendarStore("-//MacTI//WOCal//EN", url, PathResolver.ICAL_SERVER);
// store.connect("*", "***".toCharArray());
// List<CalDavCalendarCollection> coll=store.getCollections();
URL url = new URL("https", "www.google.com", -1, "");
CalDavCalendarStore store =
new CalDavCalendarStore("-//MacTI//WOCal//EN", url, PathResolver.GCAL);
store.connect("lusenx@gmail.com", "*******".toCharArray());
List<CalDavCalendarCollection> collectons = store.getCollections();
thanks.
Last edit: Vincent 2013-08-05
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi all,
I need to connect to the Apple iCal Server,I use the ical4j-connector however I could not find any doc or examples of this .
I try to connect to the Apple iCal Server however get a error ‘org.apache.commons.httpclient.auth.AuthenticationException: basic authorization challenge expected, but not found’
this is my code:
URL url = new URL("https", "www.google.com", -1, "");
CalDavCalendarStore store =
new CalDavCalendarStore("-//MacTI//WOCal//EN", url, PathResolver.GCAL);
store.connect("lusenx@gmail.com", "*".toCharArray());
List<CalDavCalendarCollection> collectons = store.getCollections();
what the matter?
thanks.
Last edit: Vincent 2013-07-30
You are connecting to Google Calendar (the URL is www.google.com), that's a iCal Server.
sorry,
My target is connect to the Apple iCal Server,but connet failure,so I try connet the GooGle Calendar however connect is failure too,
this is my code:
// URL url = new URL("https", "106.187.47.147", "8843");
// CalDavCalendarStore store =
// new CalDavCalendarStore("-//MacTI//WOCal//EN", url, PathResolver.ICAL_SERVER);
// store.connect("*", "***".toCharArray());
// List<CalDavCalendarCollection> coll=store.getCollections();
thanks.
Last edit: Vincent 2013-08-05
Please send all e-mail for me to erich.bremer@stonybrook.edu
Thanks
Please send all e-mail for me to erich.bremer@stonybrook.edu
Email has been sen,Have you received?