The version number is included in every response from the bot to the server.

When the server notices a value in the response that don't match the
cached copy it will request the new capabilities.xml file.

On Sun, Sep 13, 2009 at 22:03, Jason Rush <[email protected]> wrote:
>
> Actually, I take it back, Wave is not even asking for
> capabilities.xml. Wave never even checks the version for capabilities
> until some amount of time has passed. Is anyone else seeing this
> problem?
> Thanks again!
>
> On Sep 13, 1:42 pm, Jason Rush <[email protected]> wrote:
>> Maris, did you ever get your issue solved? I'm having a similar issue:
>> My capabilities.xml file is getting cached, and even though I change
>> theversionnumber in it, adding or removing event handlers from it
>> has no effect. So, as an example, I started with registering the
>> document_changed handler, pushed it to appengine to test it, and it
>> works fine. Then I added wavelet_participants_changed, and up'd 
>> theversionnumber in capabilities.xml. If I go to capabilities.xml, I can
>> see that my newversionnumber is there, and the new event handler is
>> there. However, I have my robot littered with loggers, and the
>> wavelet_participants_changed event is never firing. In the logs, I do
>> see that capabilities.xml is rendering when I add my robot to a wave,
>> so the wave server does seem to be checking my capabilities.xml, just
>> never using it...
>>
>> Also, if I wait a day or two, and never use that robot, then my new
>> event handler starts working. I'm not sure the exact amount of time,
>> but at some point, it seems to fall out of cache, and the new
>> capabilities get registered.
>>
>> Anybody have any ideas?
>>
>> Thanks!
>> Jason
>>
>> On Aug 22, 10:24 pm, Van Riper <[email protected]> wrote:
>>
>> > On Fri, Aug 21, 2009 at 1:37 PM, Gmail<[email protected]> wrote:
>> > > yes i have seen that blog :( but still nothing!
>> > > but stll thanks!
>> > > Maris
>>
>> > So, you did follow the recommendation to change theversionin the
>> > capabilities.xml file whenever you make changes to the contents? If
>> > not, you should give that a try and be sure to check your logs for
>> > anything peculiar.
>>
>> > -Van
> >
>

--~--~---------~--~----~------------~-------~--~----~
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