7 messages in com.googlegroups.google-gadgets-api[Google-Gadgets-API] Re: Regarding na...
FromSent OnAttachments
Rajat28 May 2008 11:49 
Justin McConnell28 May 2008 16:44 
Rajat28 May 2008 21:16 
abowman (Guru)28 May 2008 21:56 
Justin McConnell29 May 2008 13:16 
Jerome (Guru)29 May 2008 21:16 
Rajat30 May 2008 09:23 
Subject:[Google-Gadgets-API] Re: Regarding native xmlhttprequest
From:Rajat (life@gmail.com)
Date:05/28/2008 09:16:50 PM
List:com.googlegroups.google-gadgets-api

Its the cross domain security issue with Xmlhttprequest , is it ?

so, if i host the gadget on the same server from which i am requesting the xml, then it would work ?

On May 28, 4:45 pm, Justin McConnell <bool@gmail.com> wrote:

On May 28, 11:49 am, Rajat <life@gmail.com> wrote: ...

I was wondering if i could use the same in igoogle gadgets to request an object or do i have to use the wrapper function provided by the api only.

You are not forced to use the wrapper. XMLHttpRequest will work.

My attempt to use the xmlhttprequest object gave me an "access denied".

Are you trying to get data from your own server? Gadgets are served from google servers, even if the XML spec resides on your own.  So any XMLHttpRequest calls will be limited by the same origin policy.