The URL for active API is: http://example.com:9898/robot/dataapi/rpc. The
other one is for passive API. Passive API allows only to respond to events
(like onWaveletSelfAdded). Active API allows to fetch/create waves.
I can confirm that the robot Java API is certainly handles wave
fetching/creation (you can check micro-box.appspot.com which uses WIAB Data
API).
Now, can you please describe in greater details what happened? What is the
robot name that you registered? When do you receieve this error: in the
robot registration process or when trying to create/fetch a wave? Also the
exception stack trace would be nice.
Yuri

2011/4/3 Patrick Jennings <sycadellic...@gmail.com>

> 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