Re: Authentication with GData.Client

2006-10-26 Thread vitv
No, I am not controlling the server, someone else is. Nonetheless, if I compare an older version of gdata (had been used for a while) to the one I've just upgraded to, I've never experienced similar problem before. At the same time, the server code has changed as well. The first service.Insert cal

Re: Authentication with GData.Client

2006-10-26 Thread vitv
No, I am not controlling the server, someone else is. Nonetheless, if I compare an older version of gdata (had been used for a while) to the one I've just upgraded to, I've never experienced similar problem before. At the same time, the server code has changed as well. The first service.Insert cal

Re: Authentication with GData.Client

2006-10-26 Thread Frank Mantek
Are you in control of the server? Or can get in touch to them? The underlying connection is closed is normally caused by a proxy or the server dropping the keep-alive connection. You can:- either disable keep alive in the EnsureWebRequest code and try that - check the http traffic with fiddler to s

Re: Authentication with GData.Client

2006-10-25 Thread vitv
Frank, I am not sure whether or not the following is related to GDataRequestFactory.CustomHeaders, but the described below behavior is consistent. On the every 1st service.Insert call I am getting an exception (see further below). Every 2nd call works. Exception details: Type: GDataRequestExce

Re: Authentication with GData.Client

2006-10-24 Thread Frank Mantek
I guess so (server problem). I do assume, from the goodness of my soul, that the .NET classes do handle basic auth correctly. So there must be something different about this particular server implementation.Frank On 10/24/06, vitv <[EMAIL PROTECTED]> wrote: Frank,I've updated to the latest version

Re: Authentication with GData.Client

2006-10-24 Thread vitv
Frank, I've updated to the latest version and there's a good news...it works!!! But, before I tried option b) I decided to give another chance to a) by calling service.setUserCredentials. That did not work. So, there is little something on the server that needs being tuned up. Anyway, thanks ver

Re: Authentication with GData.Client

2006-10-24 Thread vitv
Yes, I am on 1.3.5.6804 version since the last time you had fixed the atomfeedparser class for me. I guess I should sync... Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Data API" group. To post

Re: Authentication with GData.Client

2006-10-24 Thread Frank Mantek
What version of the code are you using? This is in since August... request.cs, around line 90...Frank MantekOn 10/24/06, vitv < [EMAIL PROTECTED]> wrote:Correct.I am going with the b) option.I don't see, however, CustomHeaders being a member of the GDataRequestFactory class.??Thanks. --~--~---

Re: Authentication with GData.Client

2006-10-24 Thread vitv
Correct. I am going with the b) option. I don't see, however, CustomHeaders being a member of the GDataRequestFactory class. ?? Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Data API" group. To p

Re: Authentication with GData.Client

2006-10-24 Thread Frank Mantek
Then you should be able to solve this with the CustomHeaders collection. If .NET on it's own does not do the job for you, then this explains why  the default implementation on the GData end does not work either.Frank Mantek On 10/24/06, vitv <[EMAIL PROTECTED]> wrote: Frank,- not a google service (

Re: Authentication with GData.Client

2006-10-24 Thread vitv
Frank, - not a google service (you're correct). This information is definitely helpful. Thank you very much for taking time writing it. I will try both a) and b) and let you know. Regarding a) though, this how I thought it should be working without even looking at the code. The server I connect

Re: Authentication with GData.Client

2006-10-23 Thread Frank Mantek
-> i do assume you are not talking to a google service (please correct me if i am wrong here)-> the service you are talking to uses basic auth (in the webrequest sense of way)There are too things that you could check for: You are using a normal service and a normal request object, then when you l

Re: Authentication with GData.Client

2006-10-23 Thread vitv
Frank, Let me rephrase my question, perhaps. Is there a way to somehow attach an http header to the service before I make service.Insert call? Thanks a lot. Vitaly --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "

Re: Authentication with GData.Client

2006-10-23 Thread vitv
Hi Frank, I am getting the Unauthorized {401} error, same I see in fiddler. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Data API" group. To post to this group, send email to google-help-dataapi@googlegr

Re: Authentication with GData.Client

2006-10-23 Thread Frank Mantek
A tad more detail is needed:- what kind of exception is thrown? - what service are you talking to? - what's happening on the wire? (use fiddler to see).As Google does not have services with GDAta feed that use Basic Authentication, i am not sure if that code "really" works, but I would be hopeful t

Authentication with GData.Client

2006-10-23 Thread vitv
Hi All, I am having a problem with the following code using this lib in VB 2005. I am posting to a server that does support "Basic" auth., but throws an exception. Can someone explain me please, how the Credentials are being extracted/translated into the Authorization header? Perhaps, there is so