Hi there,

The short answer is yes, but only if the target is visible externally.

gadgets.io.makeRequest is a proxy service that uses an external proxy
to fetch the page. If your target is internal (eg. intranet) and does
not have an exposed external endpoint, it won't work.

In that case you'll have to use a cross domain solution, such a jsonp,
html5 or flash. jsonp is trivial to implement but has length
restrictions; flash offers a much wider range of options but requires
a bit of work to get the js/as bridge working.

Here are a few links:
http://kb2.adobe.com/cps/142/tn_14213.html
http://stackoverflow.com/questions/726704/how-do-jquery-do-its-cross-domain-ajax-calls-and-how-can-i-replicate-em-with-moo

~
Doug.

On May 14, 2:02 am, balderman <[email protected]> wrote:
> Hi
> I am having an embedded wave which runs on a web server inside my
> company.
> This wave contains a gadget which needs to consume some services from
> a other web server which runs in the company as well.
> Will I be able to do Ajax calls to the the web server in order to
> consume those services?
> Can I use "gadgets.io.makeRequest" API for this task?
>
> Thanks
>
> Avishay
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google Wave 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 
> athttp://groups.google.com/group/google-wave-api?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Wave 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-wave-api?hl=en.

Reply via email to