Hi Eric, I tried the GadgetRPC sample but its returning with the following exception :
com.google.gwt.user.client.rpc.StatusCodeException: <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> <title>Error 405 HTTP method POST is not supported by this URL</title> </head> <body><h2>HTTP ERROR: 405</ h2><pre>HTTP method POST is not supported by this URL</pre> <p>RequestURI=/gadgets/proxy</p><p><i><small><a href="http:// jetty.mortbay.org/">Powered by Jetty://</a></small></i></p><br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/ > <br/> <br/> <br/> <br/> <br/> <br/> </body> </html> I tried to deploy the application in igoogle and then in Shindig server present on my machine but the result is same... Can you please tell me whether I am doing something wrong during deployment ?? On Jan 12, 6:32 pm, Eric Ayers <[email protected]> wrote: > I've not done it with opensocial containers, but there is a trick in the > GadgetRPC sample that should help. You will need to get the proxy URL for > your RPC using the method: > > gadgets.io.getProxyUrl()<http://code.google.com/apis/gadgets/docs/reference/#gadgets.io.getPro...> > > The GadgetRPC sample is included in the download under the 'samples' > directory. > > Note that gwt-gadgets-1.0.1 does not support the opensocial 0.8 spec (is > that what you are using?) , only the legacy API. I don't know that the > generated gadget.xml file is going to work for you without modification. > > On Mon, Jan 12, 2009 at 1:56 AM, falcon_whiz <[email protected]>wrote: > > > > > Hi, > > I have created an application using GWT and now I want to deploy > > this app in opensocial containers. The problem is how do I use the > > RPC's they are not working at the moment. Through Firebug I found that > > no request is being sent to the servlets. I am also using gwt- > > gadgets-1.0.1 api to generate the required xml file. > > -- > Eric Z. Ayers - GWT Team - Atlanta, GA USAhttp://code.google.com/webtoolkit/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" 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-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
