One Hundred Hellos - Blog

RPC options - 17 July 2006

Results:
Basic transport is workable now.
For initial tests php-o-lait will be simpler, (requires php 4.3 (.1)+ (not boole)

JSON-RPC
Server side -
JSON.php wrapped by me
php-o-lait includes JSON.php , and rpcproxy classes
json-rpc-java-1.0

Client side
php-o-lait rpcproxy classes
Hand written code in HttpPostTest
including cookie tracking.

Impedence mismatch: Types!
If php is in the chain, whoe dow we adapt the class hinting scheme from java client:
remove it from the source by hand ?
Implement Objects in php ?

Other transports:
REST, XMLRPC, SOAP
JAX-RPC -> supplanted by JAX-WS 2.0 (which supplants JAX-RPC), JAXB 2.0, and SAAJ 1.3.

What about http://xins.sourceforge.net/
handles all three: REST, XMLRPC, SOAP

for xmlrpc :
implementation list : http://www.xmlrpc.com/directory/1568/implementations
top candidates for java:
http://ws.apache.org/ or http://ws.apache.org/xmlrpc/index.html
http://xmlrpc.sourceforge.net/ (redstone , was Marquée)
top candidates for php: not yet reviewed
There is already a module in php :php-xmlrpc (on euler,abel,rack2)
article describing this extension :
http://www.devshed.com/c/a/PHP/Using-XMLRPC-with-PHP/
this is the xlmrpc-epi (epinions extension)
http://keithdevens.com/software/xmlrpc
http://scripts.incutio.com/xmlrpc/
http://phpxmlrpc.sourceforge.net/ (has some json stuff too, had trouble making it work ?)
but maybe that was on boole)