H dude wrote:
> If you log levels of FINER and above in
> gdata/client/http/HttpGDataRequest.java you should automatically get
> them.
Ok, looking into how to enable FINER in a minute.
First, I'd just like to post an example for you - maybe you can see
something in this stack trace:
1. I use gdata to calendarService.insert() - this fails with
RedirectRequiredException: Moved Temporarily
2. I catch the RedirectRequiredException, and try this:
newEventEntry = calendarService.insert(
new URL(ex.getRedirectLocation()), tmpEventEntry);
This fails - with:
RedirectRequiredException: Moved Temporarily
and I get this stack trace:
Fri 2006/Oct/20 5:45:46.847
PM|***|http-8080-Processor29|GoogleCalendarSync|com.google.gdata.util.RedirectRequiredException:
Moved Temporarily
com.google.gdata.util.RedirectRequiredException: Moved Temporarily
at
com.google.gdata.client.http.GoogleGDataRequest.handleErrorResponse(GoogleGDataRequest.java:456)
at
com.google.gdata.client.http.HttpGDataRequest.checkResponse(HttpGDataRequest.java:452)
at
com.google.gdata.client.http.HttpGDataRequest.execute(HttpGDataRequest.java:430)
at
com.google.gdata.client.http.GoogleGDataRequest.execute(GoogleGDataRequest.java:441)
at com.google.gdata.client.Service.insert(Service.java:679)
at com.google.gdata.client.GoogleService.insert(GoogleService.java:658)
Maybe there is a bug in how checkResponse() deals with cookies...
Now I'm off to try to find out how to enable FINEST...
Cheers.
> On Oct 20, 1:07 pm, Mark Swanson <[EMAIL PROTECTED]> wrote:
>> H dude wrote:
>>> When we do a redirect we also set a cookie. The next time you talk to
>>> us you should be sending us the cookie otherwise you will be redirected
>>> again.
>>> If possible can you send us the http headers and the responses for a
>>> couple of requests.Absolutely. Just let me know the gdata (1.0.3) API
>>> methods I can use to
>> get that to you in an hour.
>>
>> Thanks!
>>
>> --http://www.ScheduleWorld.com/
>> Free Google Calendar synchronization with Outlook, Evolution,
>> cell phones, BlackBerry, PalmOS, Exchange, Mozilla, Thunderbird,
>> Pocket PC/Windows Mobile. Also sync tasks, notes and contacts!
>> WebDAV, vfreebusy, RSS, LDAP, iCalendar, iTIP, iMIP support.
>
>
> >
>
--
http://www.ScheduleWorld.com/
Free Google Calendar synchronization with Outlook, Evolution,
cell phones, BlackBerry, PalmOS, Exchange, Mozilla, Thunderbird,
Pocket PC/Windows Mobile. Also sync tasks, notes and contacts!
WebDAV, vfreebusy, RSS, LDAP, iCalendar, iTIP, iMIP support.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---