java - JSON-RPC vs JSON -


i familiar restful services created using json medium. today heard new term "json-rpc" unfamiliar with.

on doing research looks if json-rpc similar soap web services have defined contract between requestor , responder , requestor has have client in form of jar remember used have when used apache axis soap web services (even though there not wsdl).

so whilst can if want enforce strong contract between 2 parties can cumbersome change because have regenerate stubs , distribute stubs potential new requestors?

have summed correctly?

thanks

json-rpc indeed similar soap. have no explicit contract , no service description file , protocol simple gets.

this json-rpc 1.0 request looks like: {"method": "echo", "params": ["hello json-rpc"], "id": 1}


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

django - CSRF verification failed. Request aborted. CSRF cookie not set -

jsf - How to ajax update an item in the footer of a PrimeFaces dataTable? -