JSON-RPC

method not found error while accessing web service using asihttprequest

不问归期 提交于 2019-12-25 03:34:29
问题 I've created SOAP web service that would be accessible from Objective-C environment with ASIHTTPRequest library using JSON-RPC bridge . When I tested it from JavaScript everything where OK. But from Objective-C I got an error {"id":2,"error":{"code":591,"msg":"method not found (session may have timed out)"}} Web Service: @WebService() public class UserWS { /** * User data list - id, first name, last name, service number, username */ /** * Provides web service to get current user with waiter

how to use json rpc with curl on java

霸气de小男生 提交于 2019-12-25 03:24:29
问题 i set the private ethereum on my local computer and run as geth --bootnodes="enode://b115ff8b97f67a6bd8294a4ea277930bf7825e755705e809442885aba85e397313e46528fb662a3828cd4356f600c10599b77822ebd192199b6e5b8cfdb530c4@127.0.0.1:30303" --networkid 15 console --datadir "private-data" --rpcport "8545" --rpc --rpccorsdomain "*" --rpcapi "eth,web3,personal" --rpcaddr 192.168.44.114 and then i connect here with the remote computer's blockchain nodes i want to use ethereum json rpc with curl on java . i

Add Path to Erlang Search Path?

巧了我就是萌 提交于 2019-12-19 05:37:03
问题 I recently installed Erlang RFC4627 (JSON-RPC) with the debian package. I ran the test server using: sudo erl -pa ebin and then at the prompt: test_jsonrpc:start_httpd(). returned ok I tested with http://:5671/ and got the success messages. When I try to run rabbitmq-http2 however, I get the errors that the readme says are caused by rfc4627's code not being on the erlang search path. How do I put it on the path. I saw something on Dave Thomas's blog which suggested putting the path in the

Add Path to Erlang Search Path?

随声附和 提交于 2019-12-19 05:36:04
问题 I recently installed Erlang RFC4627 (JSON-RPC) with the debian package. I ran the test server using: sudo erl -pa ebin and then at the prompt: test_jsonrpc:start_httpd(). returned ok I tested with http://:5671/ and got the success messages. When I try to run rabbitmq-http2 however, I get the errors that the readme says are caused by rfc4627's code not being on the erlang search path. How do I put it on the path. I saw something on Dave Thomas's blog which suggested putting the path in the

REST vs JSON-RPC? [closed]

本小妞迷上赌 提交于 2019-12-17 04:08:54
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 2 months ago . I'm trying to chose between REST and JSON-RPC for developing an API for a web application. How do they compare? Update 2015: I have found REST easier to develop and use for an API which is served on Web/HTTP, because the existing and mature HTTP protocol which is understood

JSON Rpc libraries for use with .NET [closed]

丶灬走出姿态 提交于 2019-12-13 19:04:46
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . I am looking into JSON RPC libraries for .net that are free to use in commercial applications. Up until now i just seem to have found JROCK. What other libraries, architecture have i got similar to JRock for .NET 2.0 What is the difference between a [WebMethod] in asmx web-service returning a instance of a class

Json RPC string

左心房为你撑大大i 提交于 2019-12-13 05:33:25
问题 I am using jquery to send json rpc requests to rempte server. Here is my jquery code: var jqxhr = $.getJSON("https://91.199.226.106/ssljson.php?callback=?", splited[1], function(data){ alert("aaaaaa"); }); jqxhr.error(function() { alert("error"); }) Where spleted[1] isthe json string I am sending to server. I am getting this message from google chrome: Uncaught SyntaxError: Unexpected token :ssljson.php:1 Error code is : {"jsonrpc":"2.0","id":null,"error":{"code":-32600,"message":"Invalid

RF JsonRpcProxy “is neither a getter nor a setter”

心不动则不痛 提交于 2019-12-13 04:29:51
问题 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] [modules] The method public abstract client.beans.ExpenseFreeBase findExpenseFreeBaseAssignedForThisDate(java.util.Date date) is neither a getter nor a setter Some help? 回答1: Yes, that simply is not supported: http://code.google.com/p/google-web-toolkit

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

这一生的挚爱 提交于 2019-12-13 03:13:17
问题 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 android-json-rpc in my Android app I do the following. JSONRPCClient client = JSONRPCClient.create("http://service/uri",JSONRPCParams.Versions.VERSION_2); client.setConnectionTimeout(2000); client.setSoTimeout(2000); try { client.callString(

Json RPC error 32600

纵然是瞬间 提交于 2019-12-13 01:12:57
问题 I am using jquery ajax to pass json rpc request to remote server. Here is my json string: {"jsonrpc":"2.0","method":"merchant_check","params":{"hostID":150999,"orderID":107,"amount":"7777","currency":"051","mid":15001038,"tid":15531038,"mtpass":"12345","trxnDetails":""},"id":107} I am getting this error: {"jsonrpc":"2.0","id":null,"error":{"code":-32600,"message":"Invalid JSON-RPC 2.0 request error (-32600)"}} What am I doing wrong? Thanks for help. 回答1: It may be the JSON liberary the