I am trying to get authorization working for a robot, which is hosted on
appspot, so that it can create and fetch waves on my WIAB test server.

I am using
http://code.google.com/apis/wave/extensions/robots/operations.html#ActiveRobotAPI
as
a reference.
I have registered the robot using /robot/register/create. This gave me a
token and a secret. I am initializing my AbstractRobot with:

setupOAuth(token, secret, "http://myserver.com:9898/robot/api";);

but this throws an error "Uncaught exception from servlet
java.lang.IllegalArgumentException: No consumer key is found for the RPC
server URL".

First, can the current implementation of WIAB handle what I am describing?
If so, is the rpc url that I am using correct? I have tried other paths,
such as "http://myserver.com:9898/robot/dataapi/rpc";, but I still get the
exception.
Is there anything else I need to add to the robot code in order to get
successful authorization?
Finally, is setting up OAuth absolutely needed by a robot in order for it to
create and fetch waves?

Any help or links would be greatly appreciated. Let me know if you want any
other information.

Thanks,
Patrick

Reply via email to