What is correct? stocky sample:

  private static String SANDBOX_DOMAIN = "wavesandbox.com";
  private static String PREVIEW_DOMAIN = "googlewave.com";

  private static String PREVIEW_RPC_URL = "http://gmodules.com/api/rpc";;
  private static String SANDBOX_RPC_URL = "http://sandbox.gmodules.com/api/rpc";;

 or Active API documentation:

    *  Sandbox:  http://www-opensocial-sandbox.googleusercontent.com/api/rpc
    * Preview: http://www-opensocial.googleusercontent.com/api/rpc



On Tue, Jun 1, 2010 at 9:41 AM, mileesah <[email protected]> wrote:
> thanks a lot. that worked for me.. I was using the rpc server that was
> on the tutorial site..
>
> thanks again..
>
> On Jun 1, 5:31 am, Ohad Redlich <[email protected]> wrote:
>> hi
>> several issues:
>> 1. are u sure u have added YOURSELF as a participant in the set? if
>> not, you will see the new-created-wave in your inbox items.
>> 2. the line: Wavelet wave =robot.newWave("wave.google.com",set);
>>     i think that the domain is "googlewave.com"...
>> 3. when u call "submit", try to use this RPC server URL: "http://
>> gmodules.com/api/rpc"
>>
>> let me know if that helped :-)
>> -Ohad
>>
>> On May 31, 7:22 pm, mileesah <[email protected]> wrote:
>>
>>
>>
>> > Hi,
>>
>> > I don't know what i was doing wrong but i can't seem to make my code
>> > work.. I wanted to create a new wave whenever i access a the page. It
>> > doesnt return any exception so im kinda lost as to what the problem
>> > is. Any help will be highly appreciated,
>>
>> > On my robot I have:
>> > //constructor
>> > public WaveRobot()
>> > {
>>
>> >                  setupOAuth(CONSUMER_KEY, CONSUMER_SECRET, "http://www-
>> > opensocial.googleusercontent.com/api/rpc");
>> >                  setAllowUnsignedRequests(true);
>>
>> > }
>>
>> > And on my httpservlet I have:
>>
>> > public void doGet(HttpServletRequest req, HttpServletResponse resp)
>> >                         throws IOException
>> > {
>> >                 resp.setContentType("text/plain");
>> >                 resp.getWriter().println("alive");
>>
>> >                         WaveAssistantRobot robot =new WaveAssistantRobot();
>> >                         Set<String> set = new HashSet<String>();
>> >                         set.add("[email protected]");
>> >                         Wavelet wave =robot.newWave("wave.google.com",set);
>> >                         wave.setTitle("Title");
>> >                         java.util.List<JsonRpcResponse> test = 
>> > robot.submit(wave, "http://
>> > www-opensocial.googleusercontent.com/api/rpc");
>>
>> > }
>>
>> > Thanks
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google Wave API" 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-wave-api?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Wave API" 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-wave-api?hl=en.

Reply via email to