shortly. I was busy with other things lately.

Frank Mantek
Google
On Feb 18, 2008, at 10:40 AM, Kulvinder Singh wrote:

> Hi Frank,
>
> Are you working on the changes/advancements in  
> GDataLoggingRequest.cs ?
>
> Thanks
> Kulvinder Singh
>
> ----- Original Message ----
> From: Frank Mantek <[EMAIL PROTECTED]>
> To: [email protected]
> Sent: Tuesday, February 12, 2008 3:30:45 PM
> Subject: Re: GDataLoggingRequest
>
> I will try, starting next week (i am busy with other stuff right  
> now....)
>
> Frank
> On Feb 12, 2008, at 9:06 AM, Kulvinder Singh wrote:
>
>> Hi Frank,
>>
>> Thanks for the reply. Yes, i am also using the  
>> LoggingRequestFactory and came up with the issues i mentioned.
>>
>> I have filed a bug at 
>> http://code.google.com/p/gdata-issues/issues/detail?id=351
>>
>> Can you please solve this at the earliest ? Since, you yourself has  
>> written everything on Logging, i think you can do it quite quickly  
>> (if you get some bandwidth. Right ?)
>>
>> I hope we can improve this logging stuff to a much better level.
>>
>> Thanks
>> Kulvinder Singh
>>
>> ----- Original Message ----
>> From: Frank Mantek <[EMAIL PROTECTED]>
>> To: [email protected]
>> Sent: Monday, February 11, 2008 9:21:29 PM
>> Subject: Re: GDataLoggingRequest
>>
>> Actually, that is more a matter of feature discussion. I wrote the  
>> logging code primarily to help me debug issues on systems that do  
>> not have sophisticated tools like Fiddler readily available.
>>
>> So, yes it is not perfect. I have no idea why the request file is  
>> never created for you (this works fine for me), and that it does  
>> not log headers is a known limitation.
>>
>> So please file bugs/issue reports against that. I am more than  
>> happy to look into enhancing it - i assumed so far i am the only  
>> one using it :)
>>
>> Regards
>>
>> Frank Mantek
>> Google
>> On Feb 11, 2008, at 4:14 PM, Kulvinder Singh wrote:
>>
>>> Hi,
>>>
>>> Following is the code for Execute() in GDataLoggingRequest :
>>>
>>>         public override void Execute()
>>>         {
>>>             if (this.RequestCopy != null)
>>>             {
>>>                 this.RequestCopy.Seek(0, SeekOrigin.Begin);
>>>                 SaveStream(this.RequestCopy, this.strInput);
>>>                 this.RequestCopy.Seek(0, SeekOrigin.Begin);
>>>
>>>             }
>>>             try
>>>             {
>>>                 base.Execute();
>>>
>>>             }
>>>             catch (GDataRequestException re)
>>>             {
>>>                 Tracing.TraceMsg("Got into exception handling for  
>>> base.execute");
>>>                 HttpWebResponse response = re.Response as  
>>> HttpWebResponse;
>>>
>>>                 if (response != null)
>>>                 {
>>>                     Stream req = response.GetResponseStream();
>>>                     SaveStream(req, this.strOutput);
>>>                 }
>>>                 throw;
>>>             }
>>>         }
>>>
>>>
>>> The catch block catches only the GDataRequestException and when i  
>>> fetched the list of calendars using a wrong password, it doesnt  
>>> write the response stream.
>>>
>>> Is this correct ?
>>>
>>> Also, GDataRequest.xml is never created (See  
>>> GDataLoggingRequestFactory) but the GDataResponse.xml and  
>>> GDataTraffic.log is created.
>>>
>>> GDataTraffic.log just writes the XML Request and Response with no  
>>> carriage returns between them for differentiation.
>>>
>>> Also, The factory doesnt write the headers which were sent to  
>>> google but the same thing is available with Phython Google  
>>> Calendar API.
>>>
>>> Any thoughts ?
>>>
>>> Thanks
>>> Kulvinder Singh
>>>
>>> Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  
>>> Try it now.
>>>
>>>
>>
>>
>>
>>
>>
>> Never miss a thing. Make Yahoo your homepage.
>>
>>
>
>
>
>
>
> Never miss a thing. Make Yahoo your homepage.
> >


--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to