Hello Fabrizio!

I'm developing some stuff with SOAP over XMPP, but I'm also very interested in the REST approach. May you send me one simple example of your code: Client and Server side by consuming a service or by sending an event from a device?

Thanks.

Diego.

On 17/09/10 16:21, Fabrizio Guglielmino wrote:
Hi all,

I'm trying to design a REST approach over XMPP, my idea is to transpose REST normally used over HTTP to XMPP (a future RFC may be called REST over XMPP).

The natural choice is for IQ stanza but types described in RFC are:

- get
- set 
- result
- error

'get' is perfect for reading a resource, 'set' may be used to POST or PUT (I can accept to not distinguishing the two), but I'd like to have a 'delete' type.
My question is: XMPP is extendible by nature but is possible to extend also standard stanzas? Adding types to IQ should be safe also for clients using XMPP standard (they simply ignore them) but I'm not sure this is acceptable from XMPP standard point of view.

Obviously I can use standard type moving operation identifier (get, set, delete...) in custom elements inside them but I think a more "purist" approach can be better....

Many thanks
Fabrizio Guglielmino
  

--
---------------------****-----------------------------
Diego Casado Mansilla (PhD Student)
Dpto. Automática
Edificio Politécnico - Universidad de Alcalá (UAH)
Sala E-24
Crtra. N-II, Km. 31,600
28871 - Alcalá de Henares (Madrid) SPAIN
Tel: 91 885 67 15
Web: http://www2.uah.es/diego_casado

"The best way to predict the future is to invent it." - Alan Kay
"...or at least posit a vision for others to build." - Gordon Bell and Jim Gemmell

Reply via email to