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

json-rpc over http in python

An old question What is the current choice for doing RPC in Python? gave me a good choice of Python JSON-RPC implementation to choose from: python-symmetric-jsonrpc rpcbd Ladon jsonrpc2-zeromq-python But the service I want to communicate with…
Mat
  • 82,161
  • 34
  • 89
  • 109
0
votes
1 answer

JSON error "Value at result of type java.lang.String cannot be converted to JSONArray" in android

I used the link for JSON RPC. I am getting a response as expected. But when i try to parse the response, it's giving me json error. My code: JSONEntity entity = new JSONEntity(jsonRequest); HttpPost request = new…
PrincessLeiha
  • 3,144
  • 4
  • 32
  • 53
0
votes
2 answers

Communication/Transport protocol with GWT client side with ASP.NET C# server side

Assuming I am limited to .NET Framework 3.5 C# on the server side and GWT on the client side, what is your suggestion for the best/most efficiant way of communication + data transport protocol and why? e.g. JSON-RPC, XML-RPC, SOAP-WCF etc etc.
Shahid
  • 995
  • 3
  • 11
  • 24
0
votes
1 answer

How can I debug txJSON-Rpc calls using a javascript client and Python server?

I have implemented a wxPython app, that also has a Twisted txJSONrpc server in it. This is my RPC "server"; I can call it using a TCP socket and issue commands. There is a Python test script called client_subhandled.py in txjsonrpc that I used to…
Erik Oosterwaal
  • 4,272
  • 3
  • 44
  • 64
0
votes
1 answer

JSON Query Based on API Manual

I have an api reference at http://manuals.kerio.com/connect/api/en/reference/interface_users.html#ae91a3b16262c8a873d1c73b53e0e45b4 that contains the following: void Users::get (out UserList list, out long totalItems, …
davidj
  • 254
  • 2
  • 9
0
votes
2 answers

android-json-rpc, receiving invalid response

I am trying to get responses from a JSON-RPC Service on Android, I'm currently developing on 3.0 Honeycomb. This is the library I am using: http://code.google.com/p/android-json-rpc/ and I am using this JSON-RPC service page for…
enp4yne
  • 638
  • 5
  • 21
0
votes
1 answer

Client server communication without using the GWT RPC

I would like to pass data between client and the server without using the GWT RPC. I need to send the JSON data and get back the response. How can I achieve this wihtout using GWT RPC ? Please provide with the example..
azhar_salati
  • 1,554
  • 5
  • 28
  • 54
0
votes
0 answers

JSON-RPC v2 API. HTTP Layer. What are the appropriate HTTP Layer status codes for API responses?

I've been working on a Deno script that implements a JSON-RPC v2 API using Deno.serve(), which has been recently stabilized. While I've set up the basic CRUD operations and error handling, I'm not sure about the HTTP status codes I should be using…
suchislife
  • 4,251
  • 10
  • 47
  • 78
0
votes
1 answer

Console.Error.WriteLineAsync() vs Console.WriteLine, what is the difference. Why does the later throw exception?

I am trying to understand StreamJsonRpc and running an example from here. I have created a tone down example here. It contains server and client and communicates via StreamJsonRpc. In the server, when I use Console.WriteLine, it throws exception.…
VivekDev
  • 20,868
  • 27
  • 132
  • 202
0
votes
1 answer

Merged mining pool compatible with RSK

I have installed ckpool compatible with RSK. But there is issue in connection with rsk node. This error is caused "Failed to get result in json response to mnr_getwork". I have inatalled BTC node and RSK node on local. I have installe rsk node using…
Cergei
  • 11
  • 1
0
votes
0 answers

JSON-RPC libraries for java

I am looking for a json-rpc client library for java that will help with interprocess communication. I found json-rpc4j. Are there any other libraries that you can suggest? The josn-rpc 4j is not quite working with the inputstream and outputstream of…
0
votes
2 answers

How to resolve "error of type null" on easybitcoin line 187

I have set-up bitcoin core on my windows and I have bitcoin-qt running. I am also using easybitcoin.php library to run rpc commands but when i try to run json rpc commands I dont get the results I want, I get this error "Trying to access array…
WamuiT
  • 1
  • 1
0
votes
0 answers

How to get "Request ID" for hedera transactions that are not errors?

When sending transactions using ethers.js to the Hedera testnet, and one errors, I can catch it like so: } catch (error) { if (error instanceof Error) console.log(error.message); else console.log(error); } And the output…
bguiz
  • 27,371
  • 47
  • 154
  • 243
0
votes
2 answers

Hello, i am getting this error when trying to deploy a contract on the zksync testnet

i am getting this error when trying to deploy an NFT to the zksync testnet. The full example can be found heretext. the following error comes up when i have enough funds in the wallet whose pvt key i gave in the .env file…
0
votes
2 answers

Android web server authentication with JsonRPC

I've been doing some research and it seems my best option to go with an Android-Client/PHP-Server application is by using JsonRPC. My question is, How would an authentication mechanism work? I'd use Zend for json server and Android-json-rpc as…
olanod
  • 30,306
  • 7
  • 46
  • 75