[JDEV] Custom messages/extensions
nick
nick at jabberstudio.org
Wed Jul 31 04:53:27 CDT 2002
know anything about XMLRPC(xmlrpc.org)?? Because you can do exactly what
you are wanting to do with Jabber-RPC
(http://www.jabber.org/jeps/jep-0009.html), and even have typesafe
parameters (er, well at least tags eg. <boolean/> that _should_ contain
the type of pcdata you want, but thats an excersize left to the
implementor). If you have any questions let me or the list know (there
are a few xmlrpc over jabber implementors out there)
Nick
Mark Derricutt wrote:
> Hiya, I'm currently working on a project that we're wanting to use
> Jabber as our messaging layer between client and server applications.
>
> I envisage sending 4-5 special "messages" with our applicatoins data
> back and forth, but I'm not sure exactlty -where- I should be putting
> my payload (in order to be a nice Jabber citizen).
>
> At the moment I'm plaing with just sending normal messages, which my
> payload next after the body, in its own namespace, something like:
>
> <message.......>
> <body>This is a message</body>
> <specialk xmlns="super:goodness">
> <more data="here"/>
> </specialk>
> </message>
>
> Is this ok? Or should be doing this inside an <iq/> element or
> something?
>
> Are there any JEPs/HOW-TOs or docs on what should and shouldn't be
> done, when extending stuff? My manager wanted wanted to do something
> with <message type="ourspecialmessagetype"></message>, but I wasn't
> too sure about that either...
>
> Mark
>
> -- \m/ --
> "...if I seem super human I have been misunderstood." (c) Dream Theater
> mark at talios.com - ICQ: 1934853 JID: talios at myjabber.net
>
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev
More information about the JDev
mailing list