Thanks to Edward Smith on the OpenBD list i was able to get this working. The problem was :
The JSON that the wave server is expecting is case sensitive. Key names like childBlipIds which need to be in the precise camel-case. I had to use a 3rd party CFJSON serializer because the OpenBD built-in one forces upper or lower case key names. Adding keys to objects you are creating to send back to the wave server need to be the correct case, using the correct method. This is WRONG : o.params = StructNew(); o.params.blipData = NewBlip(); // Case of the keyname will change to PARAMS and BLIPDATA This is CORRECT: o['params'] = StructNew(); o['params']['blipData '] = NewBlip(); So make sure you create your keys using the ['keyName'] notation so that the case is preserved. I have updated my blog post with new CFML code. http://blog.johnoscott.com/2010/05/building-wave-robots-in-coldfusion-with.html Johno! On May 31, 4:13 am, Johno Scott <[email protected]> wrote: > I had a go at building a wave robot in ColdFusion. Check it out here : > > http://blog.johnoscott.com/2010/05/building-wave-robots-in-coldfusion... > > Its not working yet in the wave web client, but i can see jsonrpc > communication between the robot and the wave server. > > I think the problem could be that the json field names i am returning > are UPPER CASE like because thats what ColdFusion does. > > Does anyone know if the CASE of the json returned back to the wave > server is important ? -- 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.
