Applications Messaging Standard

Doug Tody dtody at nrao.edu
Sat Feb 17 09:08:18 PST 2007


Hi John -

Sure: neither XML-RPC or JSON is a transport, rather they specify how
information is encoded.  I would say that "wire protocol" includes both.

	- Doug


On Sat, 17 Feb 2007, John Taylor wrote:

>
> On 17 Feb 2007, at 16:35, Doug Tody wrote:
>
> > On Sat, 17 Feb 2007, Tony Linde wrote:
> >
> >> Hi Doug,
> >>
> >> I don't know about others but I'm not sure of the terms you're
> >> using. It'd
> >> be useful if you could add an eg to the terms to help muggles like
> >> me follow
> >> you. Eg, is xml-rpc a wire protocol or interface or what?
> >
> > XML-RPC, JSON, etc. are wire protocols.  You can transmit the same
> > information with either.
> >
>
> To be pedantic that's not strictly true: JSON is an object encoding,
> it doesn't specify how the data get from A to B.  So it's no more a
> wire protocol than XML is.
> Also, the XML encoding used in XML-RPC is not directly translatable
> to JSON as the latter lacks many of XML-RPC's types.
>
> John
>



More information about the apps mailing list