Questions tagged [xmlrpcclient]

XML-RPC Clients make remote procedure calls to the XML-RPC servers.

XML-RPC Clients are responsible for making remote procedure calls to XML-RPC servers via the HTTP transport. Usually, the procedure call contains certain parameters with particular structure. Once an XML-RPC client executes a remote procedure on the XML-RPC server, structured data is returned from the server to the client.

In addition to that, usually, XML-RPC clients are responsible for translating objects from the programming language of the client to XML so they are ready for procedure calls.

XML-RPC clients have been implemented and are being maintained in various languages - Java, C++, C#, PHP, Ruby, Node.JS and many others.

89 questions
1
vote
3 answers

Ruby Custom Super Initialization

Here is my situation: XMLRPC::Client has a proxy constructor, new3, that takes a hash of options. It takes out the individual values to then delegate the construction to the default initializer, initialize I am deriving from XMLRPC::Client. I want…
Jorge Israel Peña
  • 36,800
  • 16
  • 93
  • 123
1
vote
1 answer

Python xmlrpc.client sending objects

I'm using Python3 and the xmlrpc.client lib. The docs seem a bit sparse, but that's probably because I'm new to xmlrpc. I need to send the following xml in string format, as a parameter to a search method. How do I do this?
wouter
  • 21
  • 5
1
vote
0 answers

Java XML-RPC: How to pass an array or list as a parameter to a method on the server?

I am trying to use an XmlRpcClient to call a method on an XmlRpcServer which reads data from a database according to a list of specified indexes. The length of the list is not fixed, so there could be 5 or 500 values inside. I want to pass this list…
1
vote
1 answer

decode binary from xmlrpc python

I'm new to python and xml-rpc , and I'm stuck with decoding binary data coming from a public service : the service request response with this code is : from xmlrpc.client import Server import xmlrpc.client from pprint import pprint DEV_KEY =…
1
vote
1 answer

How to make access based xmlrpc call for ejabberd from Java client?

I am running ejabberd and ejabberd_xmlrpc module - https://www.ejabberd.im/ejabberd_xmlrpc In the link I can see python, php and xmlrpc client module with access control. How can we write the same using java client Here is my code: /* Code for…
Harshit Bangar
  • 293
  • 1
  • 4
  • 11
1
vote
2 answers

Setting the mac address on a system on a cobbler server using the xmlrpc api

I'm trying to set the mac address of the eth0 interface of a system on my cobbler server using the xmlrpcapi. I can set simple fields like "comment", but I can't seem to set mac address, probably because I don't know the path to refer to. So this…
kimon
  • 2,481
  • 2
  • 23
  • 33
1
vote
2 answers

How to get all the posts from a wordpress blog using client.call function?

I am using python wordpress_xmlrpc library for extracting wordpress blog data. I want to fetch all posts of my wordpress blog. This is my code client = Client(url, 'user', 'passw') all_posts = client.call(GetPosts()) But this is returning only the…
Naman Sogani
  • 943
  • 1
  • 8
  • 28
1
vote
1 answer

*Client* scalability for large numbers of remote web service calls

I was wondering if you could share best practices and common mistakes when it comes to making large numbers of time-sensitive web service calls. In my case, I have a SOAP and an XML-RPC based web service to which I'm constantly making calls. I…
Yuriy
  • 176
  • 1
  • 8
1
vote
0 answers

Custom HTTP headers with XmlRpcClient And Read response header

I was wondering if anyone knows how to send custom HTTP headers using an XmlRpcClient in Java? I see a custom header can be set using XmlRpcHttpTransport.setRequestHeader() but I don't see a way of tying this in with the XmlRpcClient itself.And I…
rainer
  • 11
  • 1
1
vote
0 answers

How to fix XML-RPC Client returning fault code in PHP?

It is my first experience with XML-RPC. I am having a problem retrieving the data from the server as it's being returned to client as fault code. Why is this happening? Do I also need to make an XML-RPC Server file or is it already set up…
TheAmazingKnight
  • 2,442
  • 9
  • 49
  • 77
1
vote
1 answer

Removing duplicate results from a Map (Not techinally duplicate)

I'm using www.opensubtitles.org API to get subtitles using file hash. Now, my problem is that it returns all the available subtitles for that particular file. for example: I get this result when I select one file to download…
1
vote
2 answers

XML RPC Equivalent of a dictionary

I have a custom XML RPC library I developed in C# by looking at the mini specification at this website: http://xmlrpc.scripting.com/spec.html It doesn't have any explanation of how to serialize a dictionary of scalars to XML. Fortunately for me,…
Water Cooler v2
  • 32,724
  • 54
  • 166
  • 336
1
vote
1 answer

Not able to connect to WCF-XMLRPC-Server using other client in a different language

I have created a sample xmlrpc C# server-client using Vaster Clemens tutorials http://vasters.com/clemensv/PermaLink,guid,679ca50b-c907-4831-81c4-369ef7b85839.aspx I am successfully able to connect to my C# server to the C# client, but whenever I…
ansrivas
  • 597
  • 2
  • 9
  • 14
1
vote
2 answers

How to get a XmlRpcValue using overloaded function

I have a XmlRpcValue object and want to get the values from this object. The Class offers some interfaces to get the values. But I'm not sure how to use them. The interface is defined in this minimal documentation…
Ashok
  • 1,079
  • 3
  • 10
  • 17
1
vote
0 answers

How to add custom HTTP header for client XML-RPC requests in libxmlrpc

I need to add custom HTTP header for all client XML-RPC requests in libxmlrpc, how can I do this?
Lion
  • 11
  • 1