Re: GWT RPC with Adobe AIR 2

2010-07-13 Thread Gurufaction
I found it easier to modify the cache.html file and replace self.onreadystatechange = new Function with self.onreadystatechange = function(){} I tried to modify the RPC Url with the setServiceEntryPont() method which changes the URL but the request method is no longer POST but OPTIONS. I tried

Re: GWT RPC with Adobe AIR 2

2010-07-12 Thread nino ekambi
Well i think i ve figured it out the first Problem is in the RequestBuilder class. (Well actually is the XMLHttpRequest Class) take a look at the XMLHttpRequest Class in the method *clearOnReadyStateChange (*line 113) public final native void clearOnReadyStateChange() /*-{ var self =

Re: GWT RPC with Adobe AIR 2

2010-07-11 Thread Joe Cole
On Jul 11, 1:39 pm, nino ekambi jazzmatad...@googlemail.com wrote: Why dont just use the RequestBuilder  and send  the response back as JSON or XML ? Because you have to write some of the conversion process manually which is automated with GWT. Unless you know of a project that is a drop-in

Re: GWT RPC with Adobe AIR 2

2010-07-11 Thread nino ekambi
Yeah you are right. It looks the gwt is generating some new Function(){...} constructs, what adobe air doesnt like. Anybody has a solution to this ? I m also really interested greets 2010/7/11 Joe Cole profilercorporat...@gmail.com On Jul 11, 1:39 pm, nino ekambi jazzmatad...@googlemail.com

Re: GWT RPC with Adobe AIR 2

2010-07-10 Thread Joe Cole
We have a very large app that uses air extensively (both online and offline modes). We had to jump through many hoops to get RPC working. For AIR compiles, we replace the following class with this method: public final class ClientSerializationStreamReader extends

Re: GWT RPC with Adobe AIR 2

2010-07-10 Thread nino ekambi
Why dont just use the RequestBuilder and send the response back as JSON or XML ? 2010/7/11 Joe Cole profilercorporat...@gmail.com We have a very large app that uses air extensively (both online and offline modes). We had to jump through many hoops to get RPC working. For AIR compiles, we

GWT RPC with Adobe AIR 2

2010-07-09 Thread Gurufaction
How do you call GWT RPC from Adobe AIR? Is it possible? I get a security violation from AIR. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this

Re: GWT RPC with Adobe AIR 2

2010-07-09 Thread Stefan Bachert
Hi, GWT RPC is just an HTTP POST. From this point of view it should be possible. However, GWT RPC is passing an id in the headers which is changing every compile. So you must simulate this, too. Stefan Bachert http://gwtworld.de On 9 Jul., 00:20, Gurufaction gurufact...@gmail.com wrote: How do