Michel Pelletier wrote:
Chris Withers wrote:
andrew wrote:
Have been delving into ZPublisher.Client to make remote procedure calls under Zope 2.2.1.
Did someone slip 2.2.1 without mentioning it?!
I thought XML-RPC was now favoured over ZClient?
It's not really favored, both are quite useful. xml-rpc is more for when you want two different system to interoperate. ZClient is very zope specific and probably gives you a bit more functionality than xml-rpc (because it has the 'remote object' abstraction).
I don't think ZClient is really Zope specific. At least it's not supposed to be. It does have a richer API, including features like authentication and header support.
Also, ZClient is much faster i've found, probably due to the marshalling/unmarshalling necessary for xml-rpc.
That's interesting......Hm. ZClient has to marshal. I suspect that xml-rpc wants some sort of optimization. Jim -- Jim Fulton mailto:jim@digicool.com Python Powered! Technical Director (888) 344-4332 http://www.python.org Digital Creations http://www.digicool.com http://www.zope.org Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email address may not be added to any commercial mail list with out my permission. Violation of my privacy with advertising or SPAM will result in a suit for a MINIMUM of $500 damages/incident, $1500 for repeats.