Hi Cornel. Have you raised this in the Documents List Data API discussion
forum? One of the contributors on that list might be able to better explain
why your authentication is failing and the CaptchaRequiredException is being
thrown.

- Jason

On Fri, Aug 14, 2009 at 2:51 AM, Cornel <[email protected]> wrote:

>
> Hello!
>
> I want to be able to read and modify some google docs belonging a
> user, from a servlet running in app-engine.
>
> I was able to connect and fetch a document list from the
> [email protected] both from hosted-mode and from app-engine.
>
>                        service.setUserCredentials("[email protected]",
> "password");
>                        URL documentListFeedUrl = new URL("
> http://docs.google.com/feeds/
> documents/private/full");
>                        DocumentListFeed feed =
> service.getFeed(documentListFeedUrl,
> DocumentListFeed.class);
>
>                        for (DocumentListEntry entry : feed.getEntries()) {
>                                spreadSheets +=
> entry.getTitle().getPlainText() + " ";
>                        }
>
> But when i try to do the same thing for [email protected], it only
> works in hosted mode.
> When i try on appengine i get a CaptchaRequiredException in the logs.
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" 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-appengine-java?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to