My client application uses HttpURLConnection to connect to another
blog server on low level and GData to connect to blogger.com.

I set system properties for a proxy by

System.setProperty("http.proxyHost", proxyServer);
System.setProperty("http.proxyPort", proxyPort);

and it works for HttpURLConnection case of course.

However, I'm getting AuthenticationException ("Error connecting with
login URI") while trying to connect to blogger.com by

GoogleService blogService = new GoogleService("blogger", "google-
client");
blogService.setUserCredentials(uName, passwd);

The same code works well on a machine with direct connection.

So, my questions are:
1. Does GData Java API respect http.proxyHost property?
2. Is there any other way to set proxy (with authentication) in GData
API which I missed? My search gave an answer for C# API only.

Thanks,
Petr


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google 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-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to