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

Android error: NoClassDefFound error while using android-json-rpc

I am using android-json-rpc library. I added the android-json-rpc-0.3.4.jar library to my build path. Just following some basic tutorial. Here is my code: public class MainActivity extends Activity { public void onCreate(Bundle…
Dexter
  • 1,621
  • 3
  • 18
  • 38
0
votes
2 answers

Trac JSON RPC Issue when using JQuery AJAX

I'm trying to access some data through JSON RPC using the trac XMLRPCPlugin using my own method 'plugged' into one of it's extension points on the server side and a JQuery AJAX request on the client side. I can access the data fine using the Firefox…
pwilding
  • 33
  • 1
  • 6
0
votes
1 answer

Android System.error JSONRPCException: IO error

i am using JSON-RPC PHP from http://jsonrpcphp.org/?page=example&lang=en to create php jsonrpc as server and android-json-rpc as client for android http://code.google.com/p/android-json-rpc/ my server is OK and i can call it from php but when i call…
Ayman Elarian
  • 301
  • 2
  • 15
0
votes
1 answer

Javascript-Applet communication: how to pass return values back to Javascript

I have some javascript code that needs to call a method in an applet. The applet and the javascript are running in the same webpage. I know how to call applet methods from javascript and vice versa (e.g., using MyAppletID.appletMethodName(args) and…
dB'
  • 7,838
  • 15
  • 58
  • 101
0
votes
0 answers

ValueProxy's equals() fails because stableId() returns null

Some of my widget code (GXT 3.0) wants to call equals() from a RF-JsonRpc received ValueProxy but it fails because those proxies doesn't have any stableId tag and the equals method implemented in ValueProxyCategory requires it to check if it is…
0
votes
1 answer

send json commands with bash to boxeebox

I'm trying to get my callerid script to send a notification to my boxee box connected tv. I've got the script working using mgetty and notify-send on a couple of my computers. here is my cidscript.sh which gets triggered by mgetty #!/bin/sh # send…
mrplow
  • 41
  • 6
0
votes
1 answer

RF JsonRpcProxy "is neither a getter nor a setter"

I'm getting is neither a getter nor a setter when gwt is compiling my @JsonRpcProxy annotated ValueProxy interfaces. I have those methods implemented with an Autobean Category but seems that RquestFactoryGenerator can't handle them: [ERROR]…
0
votes
1 answer

How to call JSON-RPC services using RequestFactory

Or what is the best way to archive this on GWT. Please post some code of how to call a simple service with parameters using RequestFactory. UPDATE: Thomas, i have updated my code with your suggestions. public interface MyRequestFactory extends…
0
votes
1 answer

JSON RPC Serializing Object with SPECIFIC naming

Im using NewtonSoft linq 2 json to serialize objects from classes straight to a json string The class object I'm using is very simple : public class OverviewQuery { public string id { get; set; } public string method { get; set; } …
NoxBene
  • 94
  • 1
  • 12
0
votes
1 answer

JSON RPC Returns numbers as property names

I receive this JSON string (part of a really big one) back from an oracle server (data is unchangeable) but now I have the tedious problem of not being able to deserialize this.. "rows":[ { "1":"0000000001", "2":"SPARE00002", …
NoxBene
  • 94
  • 1
  • 12
0
votes
1 answer

JSON RPC Formatting

In my project I have to send a very specific JSON Request to an oracle server to receive a response; at the moment I am sending the json string…
NoxBene
  • 94
  • 1
  • 12
0
votes
1 answer

JSON RPC Serializing Lists of Objects in c#

So first some info about the project; here is a class I created : public class SendOverview { public string id { get; set;} public string method { get; set;} public SendOV Params {get; set;} } public class SendOV { public…
NoxBene
  • 94
  • 1
  • 12
0
votes
1 answer

Html, auth. Getting cookies

I'm not quite sure how it works but what I need to do is authenticate with JSON-RPC and then request a page. I have this code to find out if the username and password is right but I don't know how to use this information to request a page.. …
FabianCook
  • 20,269
  • 16
  • 67
  • 115
-1
votes
1 answer

How to properly calculate eth fees?

I'm trying to sign and broadcast ETH transaction, but it seems like I'm struggling to calculate the correct fee. Here's sample data I use to sign a transaction: maxPriorityFeePerGas: 0x1 maxFeePerGas: 0xe0c1e0193ba0 gasLimit: 0x5208 to:…
-1
votes
1 answer

Go Ethereum, txpool Namespace, empty responses

I have access to a Geth node running with the following options: geth \ --http \ --http.addr 0.0.0.0 \ --http.port 8545 \ --http.api eth,net,web3,txpool \ --http.corsdomain '*' The node has been synced with the mode: snap. Why do all my…