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
6
votes
2 answers

Odoo 10 - Call method from XMLRPC

I have extended model stock.picking with a new method called do_new_transfer_xmlrpc which enables a basic new_transfer from XMLRPC. class Picking(models.Model): _inherit = 'stock.picking' @api.multi def do_new_transfer_xmlrpc(self): print…
M.E.
  • 4,955
  • 4
  • 49
  • 128
6
votes
2 answers

Convert CookComputing XMLRpcStruct (IEnumerable) to an actual C# class
So, I am using CookComputings XMLRPC library to be able to talk to InfusionSoft (it's an online CRM that's quite popular). The main method is: [XmlRpcMethod("DataService.query")] IEnumerable QuerySubscriptionStatus(string apiKey, …
zackrspv
  • 170
  • 14
6
votes
2 answers

allow_none in twisted XML-RPC server

I am building xml rpc service using twisted and I would like to use None just as it can be done in standard python lib. How can I pass allow_none to the twisted version of xmlrpc server? EDIT In [28]: sock =…
gruszczy
  • 40,948
  • 31
  • 128
  • 181
6
votes
3 answers

odoo context field. default value for popup

I work with Odoo(v9). I have custom: form(for model 1), action and popup with form(for model 2). Here example main form: my_name_form
Danila Ganchar
  • 10,266
  • 13
  • 49
  • 75
6
votes
3 answers

Best way to get xml-rpc and django working together

I have worked with Django for a while but I am new to xml-rpc. I have two Django servers running and the first needs to call functions from some modules of second server. I find xml-rpc easiest way to do so but don't want to run a separate server…
Nullpoet
  • 10,949
  • 20
  • 48
  • 65
6
votes
1 answer

how can I post html content to wordpress with xmlrpc?

I've got a script to post some data to wordpress using xmlrpc. If I use a simple string for the body like "This is a test" it works fine. However, if it has any HTML formatting in it, it gets horribly mangled when trying to add the post. How do I…
GeoffreyF67
  • 11,061
  • 11
  • 46
  • 56
6
votes
2 answers

Multithreading problems with xmlrpclib.ServerProxy under python 2.7

I have an application which instantiates an xmlrpclib.ServerProxy once, and then passes it to several threads (web application requests), which all perform XML/RPC calls simultaneously. This works well with python 2.6. With python 2.7, we're getting…
sudoremo
  • 2,274
  • 2
  • 22
  • 39
6
votes
2 answers

Can CSV data be sent to OpenERP/Odoo through the API?

I can import Comma Separated Values (CSV) data through the admin pages, into most models. This process handles the external IDs so that the data can be added to or amended as appropriate in later CSV imports. This is a manial action. Through the…
Jason
  • 4,411
  • 7
  • 40
  • 53
6
votes
3 answers

How to export a Confluence "Space" to PDF using remote API

How can I export a Confluence 'space' as a pdf? It looks like it might still be supported in Confluence 5.0 using the XML-RPC API. I cannot find an example of what to call,…
kevzettler
  • 4,783
  • 15
  • 58
  • 103
6
votes
1 answer

how to redirect the logging output of xmlrpc server to some file

I'm using the SimpleXMLRPCServer module to create a rpc server. Whenever i send any request to server it shows me the connection request. How can i redirect this output to some file so that i can see the request made to the server later. this is my…
Hemant
  • 1,313
  • 17
  • 30
6
votes
3 answers

Does iPhone support XML-RPC?

Does iPhone support XML-RPC, Is their any open source framework which I can use?
Amit Vaghela
  • 2,970
  • 7
  • 33
  • 43
6
votes
3 answers

Adding external Ids to Partners in OpenERP withouth a new module

My Question is a bit complex and iam new to OpenERP. I have an external database and an OpenERP. the external one isn't PostgreSQL. MY job is that I need to synchronize the partners in the two databases. External one being the more important. This…
NaGeL182
  • 894
  • 1
  • 13
  • 35
6
votes
3 answers

Implementing a callback in XML-RPC or SOAP

I am trying to get an understanding of how I can use SOAP or XML-RPC to create a remote, open API for my product. Problem is, part of my API will require me to be able to get events pushed from my server to the client - I will need to be able to…
Tsahi Levent-Levi
  • 2,351
  • 2
  • 18
  • 26
6
votes
1 answer

Publish a post using XML-RPC WordPress API and Python with category

I'm doing a migration from a website to another one which use Wordpress. I created new custom types for my needs (with the plugin Custom Post Types), and I created categories for each custom type. I then wrote down a script in Python (adapted from…
franzlorenzon
  • 5,845
  • 6
  • 36
  • 58
5
votes
3 answers

Has anyone been able to get Confluence.pm to add attachments?

If so can you provide the code. I am able to do almost everything else from creating new pages, modifying page attributes etc.. But I cannot seem to add attachments. I have read the official conflunce Perl XML-RPC site and discussions but all the…
stephenmm
  • 2,640
  • 3
  • 30
  • 48