This repository was archived by the owner on Apr 24, 2021. It is now read-only.
This repository was archived by the owner on Apr 24, 2021. It is now read-only.
RPC calls from gadget fail #292
Closed
Description
Found in Release:
java 1.6.0
gwt 1.7.0
gwt-gadget 1.03
Detailed description:
I try to get the GadgetRPC demo running in iGoogle and wave sandbox. I fail
in both.
I suspect that the rpcUrl might be wrong, but couldn't find a spec for that.
I installed the gadget on
http://weblily.net/gadgetRPC/com.google.gwt.gadgets.sample.gadgetrpc.GadgetRPC/c
om.google.gwt.gadgets.sample.gadgetrpc.client.GadgetRPC.gadget.xml
The Error message I get is: RPC Failed:
com.google.gwt.user.client.rpc.StatusCodeException: <HTML>
<HEAD>
<TITLE>HTTP method POST is not supported by this URL</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>HTTP method POST is not supported by this URL</H1>
<H2>Error 405</H2>
</BODY>
</HTML>
In the wave sandbox the rcpUrl looks like this:
//www-wave-opensocial.googleusercontent.com/gadgets/proxy/refresh=3600&container
=wave&gadget=http%3A%2F%2Fweblily.net%2FgadgetRPC%2Fcom.google.gwt.gadgets.sampl
e.gadgetrpc.GadgetRPC%2Fcom.google.gwt.gadgets.sample.gadgetrpc.client.GadgetRPC
.gadget.xml/http://weblily.net/gadgetRPC/com.google.gwt.gadgets.sample.gadgetrpc
.GadgetRPC/GadgetRPC
In iGoogle it looks like this (I stripped of the "www." part, otherwise I
get a SOP vialoation):
http://ig.gmodules.com/gadgets/proxy/refresh=3600&container=ig&gadget=http%3A%2F
%2Fweblily.net%2FgadgetRPC%2Fcom.google.gwt.gadgets.sample.gadgetrpc.GadgetRPC%2
Fcom.google.gwt.gadgets.sample.gadgetrpc.client.GadgetRPC.gadget.xml/http://webl
ily.net/gadgetRPC/com.google.gwt.gadgets.sample.gadgetrpc.GadgetRPC/GadgetRPC
Appreciate your help,
jofeux
Original issue reported on code.google.com by jof...@gmail.com
on 17 Jul 2009 at 9:32