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




      
____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping
--~--~---------~--~----~------------~-------~--~----~
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