Hi I am having a gadget which needs to consume services from the enterprise intranet. I tried to to use SDC (Secure Data Connector) but it looks like it can not work from the wave. Here is the solution I came up with:
Preconditions: • The wave is embedded inside a web page. • The wave contains a gadget • The web page run in the intranet. • HTML 5 "postMessage" is enabled. (Firefox,Chrome,IE8) How it works: When the wave needs to consume services from the intranet it sends a message to the containing html page. Since this html comes from the intranet it has the rights to perform Ajax call and to invoke the service. The Ajax callback function send the response back to the caller (the wave). Side note: When I developed this solution it was quite funny to discover that the Wave developers makes heavy usage of "postMessage" and I had to find a way to ignore the other messages and to deal only with messages I am interested in. 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 at http://groups.google.com/group/google-wave-api?hl=en.
