logo       

ResourceNotFoundException with hosted domain: msg#00092

Subject: ResourceNotFoundException with hosted domain
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/name@xxxxxxxxxxx/private/full";);
GoogleService myService = new GoogleService("cl", "company-app-1");
myService.setUserCredentials("name@xxxxxxxxxxx", "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.




<Prev in Thread] Current Thread [Next in Thread>