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
1
vote
1 answer

JMeter doesn't have an answer from server by JSON RPC over TCP protocol until thread is stopped manually

i test a server, which responds on JSON RPC requests over TCP. I use JMeter, the latest available version 2.8 r1393162. My test plan has the TCP sampler with JSON RPC ver 1.0 request { "method": "registrate", "params": [1,1], "id": 100}. When i…
1
vote
2 answers

Pass an PHP Object or Array from one Site to another Site?

In PHP, how can I pass an Object (actually an Array) from one Site to another Site (by not losing its original Object Structure and Values)? How to PASS/SEND from the host site NOT to pull from the destination site I want to pass directly from the…
夏期劇場
  • 17,821
  • 44
  • 135
  • 217
1
vote
1 answer

Python "push server" tcp client

I am developing python service for xbmc and I am hopelessly stuck. XBMC has TCP API that communicates by JSON-RPC. XBMC has server TCP socket that is mainly design to recieve commands and respond, but if something happens in system it sends…
Tomas
  • 331
  • 1
  • 3
  • 10
1
vote
0 answers

XPages jsonRpcService - Possible to get SMD description remotely?

I'm using the Domino 8.5.3 Extension Library with the jsonRpcService but I'm not generating the page content from the XPage, just using it as a service provider. Is there any way to generate the SMD automatically from the XPage content? I see that…
Kenneth Benjamin
  • 378
  • 2
  • 16
1
vote
1 answer

Why doesn't Jayrock (.NET JSON-RPC Framework) like my request?

Hi quick question about Jayrock... I have a Jayrock JSON-RPC web service that generally works fine. However, when I try to post to my jqGrid editUrl, Jayrock throws an error. The web service works fine in other situations. Anyone have a clue why…
wprl
  • 24,489
  • 11
  • 55
  • 70
1
vote
1 answer

Json-rpc service on java for jquery terminal emulator

I want to write web service that provides web-terminal for remote processing custom commands. I found this jquery plugin http://terminal.jcubic.pl/. It needs JSON-RPC service. As server side i want to use java web app built on spring-mvc framework.…
DenisM
  • 223
  • 4
  • 13
1
vote
2 answers

Json RPC request via jquery getJSON

I am trying to send json-rpc request to remote server with jquery getJSON method. Here is my code: json_string=JSON.stringify(obj); var jqxhr = $.getJSON("https://91.199.226.106/ssljson.php?jsoncallback=?", json_string, function(data){ …
Rafael Sedrakyan
  • 2,541
  • 10
  • 34
  • 42
1
vote
1 answer

JSON RPC and Windows 7 Phones (Mango), How can I make it work?

So after 2 days of researching and experimenting I have finally come to the conclusion that at the moment there is no working JSON RPC client for windows phones.. Both Jayrock and AustinHarris give me countless of errors while trying to reference…
NoxBene
  • 94
  • 1
  • 12
0
votes
1 answer

How to use JSON-RPC (web service) in windows phone 7 application?

I want to know how to use a Json web service in windows phone application. I am aware that Jayrock has to be used, but I would like some examples. I want to call some methods in the webservice which is given to me in the form of…
Vignesh PT
  • 624
  • 12
  • 28
0
votes
2 answers

No JSON object could be decoded - RPC POST call

var body = JSON.stringify(params); // Create an XMLHttpRequest 'POST' request w/ an optional callback handler req.open('POST', '/rpc', async); req.setRequestHeader("Content-type",…
0
votes
1 answer

I need to spawn several python jsonrpclib servers from one instance forking / multiprocessing

I need to create and spawn several jsonrpc servers instances, listening in different ports, and spawning them from one class instance. In the code, I have a method which create a jsonrpc server and execute its run_forever method: def…
Luchux
  • 803
  • 1
  • 7
  • 17
0
votes
1 answer

JSON-RPC exception

I use json-rpc client from json-rpc.net in my windows phone application. Code: var client = new AustinHarris.JsonRpc.JsonRpcClient(new Uri("http://www.raboof.com/projects/jayrock/demo.ashx")); var myObs = client.Invoke("echo", "hello…
0
votes
1 answer

JSON-RPC.NET for windows phone

Can someone explain how to use JSON-RPC.net in my application for windows phone. When I add the link on dll in my project, I get an error that the library has not been built for the Windows Phone?
0
votes
1 answer

How to pass a whole request String as Json in Android

I have to send this Json: {"method":"startSession", "params":["email" "email@email.it", "password" "1234", "stayLogged" "1", "idClient" "IPHONE"], "id":1} the problem is that: I don't know how to send a json with Exactly this form because of the…
AndreaF
  • 11,975
  • 27
  • 102
  • 168
0
votes
3 answers

cannot print the Json-RPC Response

I have a java webservice, that must return a response if the login is successful The return line of the server side method is return new Response(new InfoSessionJson(newKey, is), null, id); To get the response I have tried to use the…
AndreaF
  • 11,975
  • 27
  • 102
  • 168