On Wed, Dec 3, 2008 at 8:29 AM, Uebi Belli <[EMAIL PROTECTED]> wrote: > > Hello! > > I'm using the java client data api for mange google calendar. > > I got the follow error when I try to share a calendar with others > users: > > [Line 1, Column 1650, element atom:entry] Required extension element > http://schemas.google.com/acl/2007:scope not found. > > follow my source: > > URL aclUrl = new URL("http://www.google.com/calendar/feeds/ > [EMAIL PROTECTED]/acl/full"); > CalendarService calendarService = new CalendarService("lala123"); > > AclEntry chefe = new AclEntry(); > AclScope scope = new AclScope(AclScope.Type.USER, > "[EMAIL PROTECTED]"); > chefe.setScope(scope); > chefe.setRole(CalendarAclRole.READ); > calendarService.insert(aclUrl, entry); > > Any idea will be welcome! > > Thanks! > Diego
That looks correct to me. Can you do two things, which will help to determine what the problem is: 1. Write a short sample, runnable sample program which only runs this (plus any setup needed to actually retrieve the ACL feed). Upload that somewhere public, like http://pastie.org/. 2. Provide an HTTP transcript obtained while running the above program, as described at http://code.google.com/apis/gdata/articles/debugging_client_libs.html#java. -- Trevor Johns --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Calendar Data API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-calendar-help-dataapi?hl=en -~----------~----~----~----~------~----~------~--~---
