PDA

View Full Version : 'Ext.io.getService'failed



miaochuanjie
23 Feb 2012, 1:33 AM
Hi,When i called
Ext.io.getService("weather", function(weatherService) { weatherService.send({temperature: temperature}, function() { console.log("Weather Sensor: sent temperature update " + temperature); }, this);});

the browser consoled ‘Unable to load service descriptor for weather’

or

Ext.io.getService("calculator", function(calculator) { calculator.add(function(result) { // callback console.log("Calculator: " + 1 + " + " + 2 + " = " + result.value); }, 1, 2 });

the browser consoled ‘Unable to load service descriptor for calculator'.

Does Ext.io.getService work right now?

merrells
23 Feb 2012, 10:17 PM
'weather' and 'calculator' are test services that we use whilst we're developing... they're not actually published into the production environment. So, the code you're using is just an example.

John

miaochuanjie
24 Feb 2012, 4:46 PM
thank you !
Looking forward to the magic service , but when will the new version be released ?

merrells
24 Feb 2012, 4:49 PM
mmm, define 'magic', and we'll think about implementing it.

Our current plan is to release an update to the SIO SDK after ST2 ships.

John

miaochuanjie
24 Feb 2012, 5:24 PM
thank you .
Besides syncing data and deploying apps, do other services(messaging , user ,group ...) work? How to start ?

merrells
8 May 2012, 7:03 PM
We recently shipped an update SIO that works with ST2. You'll find it here:

http://download.sencha.io

John