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
5
votes
4 answers

How to create a jabber/XMPP proxy/logging service?

I am working for a company that is using Google Chatback (anonymous chat with a support employee in my company's case) as the main chat service provider. This service uses the XMPP (formerly known as Jabber) protocol for sending and receiving…
Jes
  • 2,748
  • 18
  • 22
5
votes
1 answer

XML-RPC - cannot marshal recursive dictionaries

I have a simple example to send a dictionary through xml-rpc: class CTest(object): def __init__(self): self.node1 = {'data':'zek', 'parent':{}, 'children':[]} self.node2 = {'data':'bill', 'parent':{}, 'children':[]} …
zekifh
  • 169
  • 1
  • 2
  • 10
5
votes
1 answer

Adding posts with media using Wordpress API and Javascript library

I would like to post on my Wordpress blog using API. Since I'm in a Javascript application I would do that using this language. I have made some searches and I have found node-wpapi package, that uses Wordpress XML-RPC protocol. Everything works,…
smartmouse
  • 13,912
  • 34
  • 100
  • 166
5
votes
1 answer

CodeIgniter xmlrpc Did not receive '200 ok'

I'm trying to implement an xmlrpc server/client per the CodeIgniter User Guide. I've taken the code as is and keep getting Did not receive a '200 OK' response from remote server. I'm running PHP 5.2.1 on the server. A quick google search leads to…
M Azam
  • 518
  • 1
  • 7
  • 28
5
votes
1 answer

How do we handle Python xmlrpclib Connection Refused?

I don't know what the heck I'm doing wrong here, I wrote have an RPC client trying to connect to a non-existent server, and I'm trying to handle the exception that is thrown, but no matter what I try I can't figure out how I'm supposed to handle…
Anthony Hiscox
  • 435
  • 8
  • 17
5
votes
1 answer

Can XML-RPC methods be called by name (as strings) in Python?

In python, calling XML-RPC methods involves invoking methods on a proxy object: from xmlrpclib import ServerProxy print ServerProxy('https://example.com/rpc').api.hello_there('John') In some other languages, like perl, you pass your method name as…
Wedgwood
  • 993
  • 9
  • 10
5
votes
4 answers

How to independently use single Zend Framework component like XML-RPC or REST?

Zend framework is well known for loosely coupled components. I would like to use XML-RPC from zend framework, is there any dependency for XML-RPC? Like if I had taken out XML-RPC folder off Zend Framework Library and try to instantiate RPC object,…
Hossain Khan
  • 6,332
  • 7
  • 41
  • 55
5
votes
1 answer

How to use PHP7 Ripcord library to get Odoo data?

I am trying to get some data from Odoo through XMLRPC, and I am working with PHP and its Ripcord library (recommended on https://www.odoo.com/documentation/8.0/api_integration.html). So I am following the steps written on that page. Firstly, I…
forvas
  • 9,801
  • 7
  • 62
  • 158
5
votes
1 answer

Odoo 9.0 create Product Variants with python xml-rpc

I am trying to import some Product.templates and their product.variants over Odoo´s xml-rpc api with python. Actually my code is creating Product.templates with their attribute.line.ids perfectly fine, but somehow the product.variants are not…
MyPy
  • 51
  • 3
5
votes
2 answers

Python SOAP client with Zeep - import namespace

A little context: I am opening this question arose here, after solving an authentication problem. I prefer to open a new one to avoid polluting the previous with comments not related to the original issue, and to give it the proper visibility. I am…
Pintun
  • 716
  • 1
  • 7
  • 23
5
votes
2 answers

Using XML-RPC in iPhone apps

Is it possible to use XML-RPC calls in iPhone application (what approaches are the best)? Are there any constraints with XML-RPC? Thank you, Paul
Paul E.
  • 1,889
  • 1
  • 12
  • 15
5
votes
1 answer

TypeError: a bytes-like object is required, not 'Binary'

I use xmlrpc.server to build a server and use pickle.dumps() to pickling some data. Then I use xmlrpc.client to build a client and use pickle.loads() to unpickle this data. ## server server = SimpleXMLRPCServer(('0.0.0.0', 5005), allow_none=True) #…
lxg_april
  • 61
  • 1
  • 4
5
votes
2 answers

Which XML-RPC Library?

There are at least two implementations of XML-RPC for PHP. Which is best and why? I've been using the one based on Edd Dumbill's work in the O'Reilly jellyfish book, but I find it extraordinarily awkward and verbose and very hard to debug. The…
Doug Kaye
  • 1,565
  • 5
  • 23
  • 32
5
votes
2 answers

Python xmlrpclib changes datetime object to DateTime instance on transmit

Messages exchanged between a client and a server using the xmlrpclib using Python 2.6.x creates a type of 'instance' on server side instead of type 'datetime'. On the client side I create a new updateTime = datetime(year, month, day, hour, minute,…
falc410
  • 85
  • 1
  • 12
5
votes
2 answers

Wordpress XMLRPC advice needed

I have been tasked with creating an API for retrieving and adding content to Wordpress from a flash application and legacy CMS (non-PHP). My plan is to utilise the existing default xmlrpc endpoint and add any additional functionality by creating a…
codecowboy
  • 9,835
  • 18
  • 79
  • 134