2 messages in com.googlegroups.google-calendar-help-dataapiResourceNotFoundException with hosted...
FromSent OnAttachments
cl....@ccombs.net16 Aug 2006 21:28 
cl....@ccombs.net16 Aug 2006 21:33 
Subject:ResourceNotFoundException with hosted domain
From:cl....@ccombs.net (cl.@ccombs.net)
Date:08/16/2006 09:28:29 PM
List:com.googlegroups.google-calendar-help-dataapi

I'm using the GData Calendar API to get a feed from an account in a domain hosted by Google.

When I do this I'm getting a ResourceNotFoundException. I guess this is due to using the wrong URL. Can anyone point me to docs on the correct path for hosted domains accessed via the GData API?

Here's a sample of my code. This works fine if I use a "gmail.com" account.

---------------------------------------- // Set up the URL and the object that will handle the connection: URL feedUrl = new URL("http://www.google.com/calendar/feeds/n...@example.@"); GoogleService myService = new GoogleService("cl", "company-app-1"); myService.setUserCredentials("n.@example.com", "password");

// Mark the feed as an Event feed: new EventFeed().declareExtensions(myService.getExtensionProfile());

----------------------------------------

I would expect the URL to include "hosted/example.com", but that doesn't work either.