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
4
votes
1 answer

How to register payment using Python XML-RPC in Odoo 12

First I created the function: def invoiceRegisterPayment(self,register_payment_row): confirm_result = self.ODOO_OBJECT.execute_kw( self.DATA, self.UID, self.PASS, 'account.payment', …
Kira
  • 171
  • 1
  • 4
  • 11
4
votes
2 answers

Error during installing XML_RPC2

I'm trying to install XML_RPC2 package from PEAR library, but whenever I type a proper command (pear install XML_RPC2) I'm getting an error: pear/XML_RPC2 requires PHP extension "curl" No valid packages found install faild Strangely enough…
Błażej Klisz
  • 1,730
  • 2
  • 16
  • 16
4
votes
2 answers

Is SimpleXMLRPCServer single threaded?

Possible Duplicate: Python XMLRPC with concurrent requests I'm writing a python application which will act as xml-rpc server, using SimpleXMLRPCServer class. Now my question is: what happens if 2 or more clients send a request at the same time?…
Emiliano
  • 22,232
  • 11
  • 45
  • 59
4
votes
0 answers

C# Send XmlDocument to Xml-RPC Server API

I am answering my own question because I had problems to find a solution for this. Maybe it will help someone. I had a request to send a XML to an Https API that only accepts XML-RPC request. This article helped me to understand XML-RPC:…
user3772108
  • 854
  • 2
  • 14
  • 32
4
votes
1 answer

How to send custom http_headers for RPC calls using python xmlrpclib?

How can I send custom HTTP Headers using python xmlrpclib library ! ? I need to send some special custom http_headers at the time of calling RPC methods.
shahjapan
  • 13,637
  • 22
  • 74
  • 104
4
votes
3 answers

Has there anyone integrated ODOO with Android?

I am currently developing an android application for a client who is insisting to use Odoo for API. I don't have any idea about it. I am not getting it even after referring to this link. They provide an URL, Database name, username, and password. If…
Noufal
  • 439
  • 1
  • 13
  • 35
4
votes
1 answer

Post HTML data via XMLRPC in Python?

I am writing a small script by Python to connect and post content to my WordPress blog. It's pretty straightforward with https://github.com/maxcutler/python-wordpress-xmlrpc However, when i tried to input a HTML data, for example: Hello It…
mrblue
  • 807
  • 2
  • 12
  • 24
4
votes
3 answers

XMLRPC Zend_Http_Client_Adapter_Exception' with message 'Read timed out after 10 seconds

I've Googled everywhere but no one has posted a solution, they all say to set the timeout in the config but how do you do this? How do I reset/override this setting from my XMLRPC client or server? Here is what I'm trying: $server = new…
Phill Pafford
  • 83,471
  • 91
  • 263
  • 383
4
votes
1 answer

How to fix python console error in pycharm?

Exception in XML-RPC listener loop (java.net.SocketException: Socket closed). When I run PyCharm from bash , I get this error..As result: I cant't use python-console in pycharm Anybody know how to fix it ? OS: ubuntu 16.04
fill-in
  • 51
  • 3
4
votes
4 answers

I want to ignore certificate verification, where and how to do it with XMLRPC web service?

I am accessing a web service and getting this error when trying to connect( web service is XMLRPC and I am using wordpress xmlrpc source code for request and handling repsonse): Error Domain=NSURLErrorDomain Code=-1202 "The certificate for this…
AKG
  • 398
  • 1
  • 5
  • 23
4
votes
2 answers

XML-RPC Server in Cocoa

I need to create an XML-RPC server on the iphone for testing purposes. Is there is a library I could leverage?
Vicente
  • 232
  • 1
  • 10
4
votes
0 answers

Fatal error: xmlrpc_encode_request(): XML-RPC doesn't support circular references in ripcord_client.php

I've created an app with PHP5-xmlrpc and I'm using ripcord to connect to my Odoo webservice. It worked fine with php5, but since my update to php7, the following happens: $common = ripcord::client(ODOO_URL . "/xmlrpc/2/common") //create a…
HansElsen
  • 1,639
  • 5
  • 27
  • 47
4
votes
1 answer

Configuring XML-RPC behavior for IIS-hosted .SVC file?

I'm using Clemens Vasters' XML-RPC implementation to implement an XML-RPC endpoint. When I host the service in a console application, it works fine. I'd like to host it in an ASP.NET MVC application, so I'm using a .SVC file. This is partially…
Roger Lipscombe
  • 89,048
  • 55
  • 235
  • 380
4
votes
0 answers

Uploading content to wordpress via xmlrpc: how to post markup?

Using python-wordpress-xmlrpc to post content to a wordpress blog, the documentation is good except that it only shows trivial plain text content. If I use HTML markup in content then the HTML tags get escaped (converted to "< ;" etc), and so do…
Tom Slee
  • 940
  • 1
  • 9
  • 13
4
votes
3 answers

Easiest RPC client method in PHP

I've been asked to help a friend's company to bring up a web application. I have very limited time and I reluctantly accepted the request, at one condition. As most of the logic goes on in the back-end, I suggested that I would finish the complete…