Hello All
thanks for your help.its working with following code.
java.util.List<JsonRpcResponse> jrrs = robot.submit(wavelet, "
http://sandbox.gmodules.com/api/rpc");
for(JsonRpcResponse r : jrrs)
{
Map<ParamsProperty, Object> data = r.getData();
if(data.containsKey(ParamsProperty.WAVE_ID))
{
LOG.severe("Wave Id = " +
data.get(ParamsProperty.WAVE_ID));
}
}
On Fri, Apr 23, 2010 at 9:11 PM, thai huynh <[email protected]> wrote:
> Hi RAVINDER MAAN,
>
> SO, Can you getWaveId just created by add event
> WaveletCreatedEvent<http://wave-robot-java-client.googlecode.com/svn/trunk/doc/com/google/wave/api/event/WaveletCreatedEvent.html>and
> then You can got it. I had try and work for me
>
> hvt_kg
>
>
>
> On Fri, Apr 23, 2010 at 10:15 PM, RAVINDER MAAN <[email protected]>wrote:
>
>> Hello All
>> I am creating a new wave by using Active Robot API by using following
>> code.
>>
>> Wavelet wavelet = robot.newWave("wavesandbox.com",participantList);
>> wavelet.setTitle("Title");
>> Blip rootBlip = wavelet.getRootBlip();
>> rootBlip.append("Content of the wave");
>> robot.submit(wavelet, "http://sandbox.gmodules.com/api/rpc");
>> LOG.severe("Wave Id = " +wavelet.getWaveId().getId());
>>
>> After creating wave i want to find out its waveId.But when i try
>> to get its waveid as u can see i am trying to log waveid of new wave
>> it doesn`t log actual wave id instead it logs id`s like "Wave Id =
>> TBD_-1968122361" .I know how to get wave id of new wave in previous
>> API.Can anybody tell me how to get waveId of new wave through recent
>> version 2 API. I want to store the waveId in database for future use.
>> Thanks In advance.
>>
>> --
>> 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]<google-wave-api%[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]<google-wave-api%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-wave-api?hl=en.
>
--
Regards,
Ravinder Singh Maan
http://ravindersinghmaan.blogspot.com/
--
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.