Questions tagged [json-rpc]

JSON-RPC is a standard JSON data-format based (r)emote (p)rocedure (c)all protocol.

See http://json-rpc.org/ for specification and implementations for various languages.

JSON stands for JavaScript Object Notation. It is a text-based lightweight data-interchange format. See http://www.json.org/ for details.

RPC stands for remote procedure call, which is a family of protocols. See the Wikipedia article Remote procedure call for origins, current variations and applications.

673 questions
0
votes
1 answer

What JSON-RPC / XML-RPC compatbility?

I'm looking at using JSON-RPC as the webAPI language for a new SOA system. What I've read is that its faster and simpler than XML-RPC, so sound good. What I don't get is, do I have to choose? Can't the same data be (automatically) packed and…
user48956
  • 14,850
  • 19
  • 93
  • 154
0
votes
1 answer

C# JSON-RPC webserver without ASP.NET

I am amazed that I have not found a single simple C# console app that will be able to handle a couple of JSON-RPC commands as a server. Is there anyway to implement this with potentially unlimited calls and a lightweight/easy way, I could compare…
0
votes
1 answer

is it advisable to use yii framework for jsonrpc only app??

Is it advisable to use yii framework (or any other php framework) for application handling jsonrpc requests only? I am confused between creating my own file/folder structure with oop, AND using existing yii framework (or any other php…
0
votes
1 answer

Bitcoin JSON-RPC

I am interested in creating a php application that uses bitcoin. I've understood everything so far except for what I am supposed to supply as these variables: $btc_connect = array("user" => "youusername", // RPC Username "pass"…
Amy Neville
  • 10,067
  • 13
  • 58
  • 94
0
votes
3 answers

How to use android-json-rpc for Android(client)/Java(server) setup?

I am trying to use https://code.google.com/p/android-json-rpc/ for android and use https://github.com/RitwikSaikia/jsonrpc on the java server. I have followed the examples for android-json-rpc client and jsonrpc server setup. When using…
zurbergram
  • 421
  • 6
  • 20
0
votes
1 answer

Dynamic enumerations in Spring, or how to keep Spring away from constructors?

Is "Dynamic enumerations" an oxymoron, like "static variables"? ;-) I've only been soaking in Spring for a short time, and I suspect I'm not thinking Spring-like yet. I would like to have a type-safe, dynamic enumeration. I've used this pattern…
Didjit
  • 785
  • 2
  • 8
  • 26
0
votes
1 answer

json rpc in tornado web server

I'm implementing web application in python using tornado web server with javascript client (using extjs). What is the best framework to implement rpc in such application? During search I found tornadorpc library but I'm afraid it won't be useful…
remdezx
  • 2,939
  • 28
  • 49
0
votes
2 answers

Installing libjson-rpc-perl on Linux

I am trying to install libjson-rpc-perl on my linux server but facing an error. Could anyone guide me in right direction ? Details : 09:04:02 # lsb_release -a LSB Version: …
Mad-D
  • 4,479
  • 18
  • 52
  • 93
0
votes
0 answers

Python jsonrpc examples and my code fail with "parse error" on server side when no data has been sent

This example exits, printing: {"id": null, "error": {"message": "Parse error", "code": -32700}} When run from command line or as a CGI executable from Apache. It gets this parse error before any data is sent to it at all. Somethings' not…
Eiríkur
  • 1
  • 2
0
votes
1 answer

Python TCP Server JSON Bad Request Syntax

I have a strange issue with the TCP JSON-RPC server I've created in Python-2.7. I used the following code to build the server: https://github.com/joshmarshall/jsonrpclib I am communicating client to server from within the same local network. In the…
Derrick
  • 336
  • 5
  • 18
0
votes
1 answer

{"error":{"message":"Services require JSON-RPC","code":0,"origin":2},"id":null}

Iam new to json RPC. when I type the url of the service that provides the methods for invoking in browser I get the folowing message : {"error":{"message":"Services require JSON-RPC","code":0,"origin":2},"id":null} Can anyone explain to me…
zizoujab
  • 7,603
  • 8
  • 41
  • 72
0
votes
2 answers

Is there any framework for performing RPC from javascript to Java bean(spring bean)?

This is the short description of my situation... I have spring bean BookingServiceImpl which implements BookingService BookingService has method: RoomDescription getRoomDescriptionById(String roomId); I also have JSP page with javascript on it I…
Sergey Karpushin
  • 874
  • 1
  • 10
  • 33
0
votes
0 answers

Is accessing database through jsonrpc from android application is a good idea?

Or it is safer/better to do this by passing commands via POST/GET and formatting response as json? At first look jsonrpc looks just like a tool for this job. But it just not sound secure for me - exposing applications methods to internet etc. Is…
Lord_JABA
  • 2,545
  • 7
  • 31
  • 58
0
votes
0 answers

Cakephp and Ajax-Post

I've set up cake php for ajax and json-requests using mostly this turtorial: http://book.cakephp.org/2.0/en/views/json-and-xml-views.html Everything is working fine, but if I make a post request (in this case for using cakephp with json-rpc), Cake…
hugo der hungrige
  • 12,382
  • 9
  • 57
  • 84
0
votes
2 answers

How to write a Service Mapping Description file?

i've got a json-rpc server running and i'm trying to write a client in Perl with RPC::JSON and i also want to expose the methods to other users so apparently i need an SMD file, for which i can't find a specification or guidelines. Is this the usual…
AlfredoVR
  • 4,069
  • 3
  • 25
  • 33