Hi, You tried setting the proxy using System.setProperty? What error did you get?
And just to be sure, if you're using secure=1 AuthSub tokens on /h9, the Authorization header looks different: GET /accounts/AuthSubSessionToken Authorization: AuthSub token="onetimeUseToken" data="..." sig="..." sigalg="rsa-sha1" Here's more information on AuthSub: http://code.google.com/apis/health/developers_guide_protocol.html#AuthSub Eric On Sep 21, 5:16 am, funkychap <[EMAIL PROTECTED]> wrote: > Hi, > > We are using JDK1.4 in our environment and working behind a proxy > server. I did try the options listed > inhttp://code.google.com/apis/gdata/articles/proxy_setup.htmlbut could > not work it out. When we are trying to exchange for session token, > below listed is the piece code: How to setup a proxy in here? > URL url = new URL(sessionUrl); > HttpURLConnection httpConn = (HttpURLConnection) > url.openConnection(); > > String header = formAuthorizationHeader(onetimeUseToken, > url,"GET"); > httpConn.setRequestProperty("Authorization", header); > > In the formAuthorizationHeader method, i have > > return "AuthSub token=\"" + token + "\""; > > Any thoughts or ideas?? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Health Developers" 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/googlehealthdevelopers?hl=en -~----------~----~----~----~------~----~------~--~---
