Questions tagged [xml-rpc]

XML-RPC is a remote procedure call (RPC) protocol which uses XML to encode its calls and HTTP as a transport mechanism.

XML-RPC is a means of encoding RPC requests in XML and sending them over HTTP. The use of XML as the intermediate language allows nesting of parameters into maps and lists, thus larger structures can be transported. Therefore XML-RPC can be used to transport objects or structures both as input and as output parameters.

In comparison to REST, where resource representations (documents) are transferred, XML-RPC is designed to call methods. You can find the homepage here.

1709 questions
3
votes
0 answers

passing array to XML-RPC using R

I'm trying to send query to API based on the XML-RPC protocol (https://api.sklik.cz/cipisek/). I'm using R with XMLRPC package. I know how to pass struct as parameter (lists are converted to structs by XMLRPC). However, I cannot figure out how to…
AdamB
  • 788
  • 5
  • 11
3
votes
2 answers

How to hide edit/create button on form by conditions?

I'm a new Odoo developer and I need to hide the edit button when my form is entering a custom state, I need this because of a security problem. This code in XML does not work when I try to give an attribute to the form.
Keepo
  • 49
  • 1
  • 6
3
votes
1 answer

xml-rpc with coldfusion - how to pass in parameters?

I'm trying to make an xml-rpc call from a coldfusion server. I found this xml-rpc cfc (Thanks, Brad Wood!) that formats the xml for the cfhttp call but I'm struggling with interpretting how to pass in any parameters besides the call name. Here's…
jessieloo
  • 1,759
  • 17
  • 24
3
votes
1 answer

how can I get the ip address of the request in a regested function of python xmlrpc server

I'm writing a simple xmlrpc programe in python. something like the following: def foo(data): # I want get the calling client's IP address here... How can I ? server=SimpleXMLRPCServer.SimpleXMLRPCServer((host,…
John Wang
  • 4,562
  • 9
  • 37
  • 54
3
votes
2 answers

execute promises recursively nodejs

the following function creates new folder on my server via xmlrpc var createFolder = function(folder_name) { var defer = Q.defer(); client.methodCall('create_folder', [sessionID, folder_name], function(err, resp) { if (err) { if…
ahhmarr
  • 2,296
  • 4
  • 27
  • 30
3
votes
3 answers

How to print from odoo/openERP via XML-RPC

Has anybody used openERP/ odoo for printing invoices via XML-RPC. I've been trying to create an xml rpc method for printing with no success. function printInvoice($values,$model){ $print = new xmlrpc_client($this->server."report"); …
Rinor Dreshaj
  • 1,032
  • 12
  • 24
3
votes
1 answer

Can you use a XML-RPC data source for Adobe Flex applications?

Can an XML-RPC call be made and the resulting XML response be utilized by Adobe's Flex? Would Flex be better served by a non-XML response and if so what format?
dacracot
  • 22,002
  • 26
  • 104
  • 152
3
votes
1 answer

What could cause xmlrpclib.ResponseError: ResponseError()?

I am experimenting with XML-RPC. I have the following server script (Python): from SimpleXMLRPCServer import SimpleXMLRPCServer server = SimpleXMLRPCServer(('localhost', 9000)) def return_input(someinput): return…
Tom
  • 31
  • 3
3
votes
1 answer

Php xmlrcp client get rtorrent info

I need to create simple php script for getting some information of my rtorrent instance ... i try a lot of code but i never give a responce ... this is my last test ini_set('display_errors', 1); error_reporting(E_ALL); function do_call($host,…
user1740962
  • 111
  • 2
  • 16
3
votes
2 answers

How can I discover the contract of a non-SOAP web API?

Let's say I have the URI for a RESTful or other contract-less API. Is it possible to determine its interface programatically? I'm using C#/ASP.net MVC, not sure if that's important. I understand that there won't be a published contract, but I'm…
Chris McCall
  • 10,317
  • 8
  • 49
  • 80
3
votes
1 answer

Get post by slug via XML RPC

Is is possible to get post by slug from Wordpress' XML RPC ? The getPost method can only take post_id for the parameter. Theoretically, I could get the post as HTML and fetch the post id from there but I think this would be quite nasty solution.
Chris Koston
  • 975
  • 2
  • 9
  • 22
3
votes
1 answer

Bash script for POST request https xml-rpc on Gravatar

I have a project to collect user information by a HTML local file. The project is aiming to be cross-platform and portable (require to have bash like git bash of github). All collected data would be sent to a bash script by custom protocol set up…
user3525023
  • 31
  • 1
  • 5
3
votes
3 answers

Access Ruby objects with Python via XML-RPC?

I am trying to export a Ruby framework via XML-RPC. However I am having some problems when trying to call a method from a class not directly added as a handler to the XML-RPC server. Please see my example below: I have a test Ruby XML-RPC server as…
QAZ
  • 4,870
  • 6
  • 36
  • 50
3
votes
1 answer

Fault Response Contains a String value where an Integer was Expected

Use this code to get a data query to a server with openerp, and consulted with the proxy below but returns me this error, I'm new at this. [XmlRpcUrl("//IP:port/xmlrpc/common")] public interface IOpenERPRPCClient { [XmlRpcMethod("login")] …
3
votes
0 answers

Are urls included in DDOS xmlrpc attacks passive, compromised participants or active participants?

My (Linux/Apache) server has ben under attack for a few weeks now - via xmlrpc.php and wp-login.php - both Wordpress script files. I took the liberty of adding some code to email me the POST data, etc. What I am seeing for the xmlrpc attacks is POST…
Colin G
  • 309
  • 3
  • 14