Hi ,

the scenario is simple, i connect to a google account for add events to the 
calendar from my java web app.

i'm calling google

AuthSubUtil.getRequestUrl("http://localhost:8080/controlli/controlli/CalendarServlet/";,
          "https://www.google.com/calendar/feeds/";,
          false,
          true);

for recieve in the query string the onetimeUseToken but sometimes when i 
call the method

onetimeUseToken = AuthSubUtil.getTokenFromReply(    
URLDecoder.decode(queryString,"UTF-8"));

i don't recieve answer for a lot of time.

the type of token that i see in my query string is

token=1%2F67EkpGEZIgCJnqbci0sNkIiZsf3jA2yaoyOn96WfyGM
token=1%2FOFiyGWnyjwdM6GV5BgCxZ3ULuQz8hRn8q1P76n_SmxU
token=1%2Fn6yXTlJKTutPbMAHyiG4I0QPvJaa4k5EboAvj7OQ9yM

, i found a post of someone that describe a problem suggesting to decode in 
utf-8 the query string  but also in this way i don't get answer.

After some time the mehtod start again to work and the 
AuthSubUtil.getTokenFromReply send back a onetimeUseToken 

For the moment i put the method in a thread and after 10 sec i go ahead 
without the calendar but i hope someone know how to solve the simple 
solution of this situation

thanks in advance

-- 
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://code.google.com/apis/calendar/community/forum.html

Reply via email to