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

How to cleanly define a Haskell module containing functions with a common variable parameter?

I'm trying to write a Haskell module that defines functions for a remote XML-RPC API using the library haxr. Here's how haxr's documentation suggests you define a Haskell function that calls examples.add on the server at url: add :: String -> Int ->…
Alex Szczuczko
  • 163
  • 1
  • 4
4
votes
1 answer

Silence output from SimpleXMLRPCServer

I am running an xml-rpc server using SimpleXMLRPCServer from the stdlib. My code looks something like this: import SimpleXMLRPCServer import socket class RemoteStarter: def start(self): return 'foo' rs = RemoteStarter() host =…
Corey Goldberg
  • 59,062
  • 28
  • 129
  • 143
4
votes
4 answers

Converting XML-RPC to JSON in JavaScript

Can anyone recommend a lightweight JavaScript XML-RPC library? After researching this a while ago, I couldn't find anything I was comfortable with, so I kinda ended up writing my own. However, maybe that was stupid, as there must be something…
AnC
4
votes
0 answers

XML RPC - Call python functions from C#

I am using lib xml-rpc.net.2.5.0 for creating a XML RPC client in C# which invokes some python methods. The client is located in a Windows7 machine and the server is located in VMWare running red hat. Client code which invokes python function (code…
user2475117
  • 43
  • 1
  • 5
4
votes
2 answers

How do I handle Python XML-RPC output and exceptions?

I have created a simple Python XML-RPC implementation, largely based on the examples. However, it sends output like this: foo.bar.com - - [13/Feb/2010 17:55:47] "POST /RPC2 HTTP/1.0" 200 - ... to the terminal, even if I redirect standard out and…
Nick Bolton
  • 38,276
  • 70
  • 174
  • 242
4
votes
1 answer

How to ping automatically to pingomatic in PHP?

I want to ping automatically to pingomatic, when ever i update my blog, as it is done by the wordpress. Pingomatic uses the XMLRPC, but I don't know how it works. Can someone help me.
Chetan Sharma
  • 2,539
  • 5
  • 25
  • 41
4
votes
1 answer

Haskell XMLRPC server executing dynamically generated functions

I have a Haskell RPCXML (HaXR) server process, run with GHC, that needs to execute any function that it's passed. These functions will all be defined at runtime so the compiled server won't know about them. Is there a way to load a function…
Viral Shah
  • 2,888
  • 2
  • 22
  • 25
4
votes
3 answers

IP address of client in Python SimpleXMLRPCServer?

I have a SimpleXMLRPCServer server (Python). How can I get the IP address of the client in the request handler? This information appears in the log. However, I am not sure how to access this information from within the request handler.
Joseph Turian
  • 15,430
  • 14
  • 47
  • 62
4
votes
1 answer

Authentication methods for Zend Framework XML-RPC server

I have a Zend Framework application whose sole purpose is to serve as an XmlRpc / JSONRPC server. I've mostly followed the philosophy from this guide for my implementation method. I overrode my Bootstrap's run() method to run a Zend_XmlRpc_Server…
Andy Baird
  • 6,088
  • 4
  • 43
  • 63
4
votes
3 answers

Tuple, from Python to Java

I have a Python XML-RPC server that has a function that returns a tuple, e.g: def function_name(first_parameter, second_parameter) #do something return (x,y) I'm calling this function from Java in an Android application using aXMLRPC, the…
ste
  • 3,087
  • 5
  • 38
  • 73
4
votes
1 answer

xmlrpc response datatype long possible?

Is there any possibility to allow xmlrpc extensions (datatype long int) for the Python simplexmlrpc server? The client uses Apache xmlrpc, which allows 8 byte integers. Basically, I'm using the example code with this function to test it: def…
Daniel
  • 36,610
  • 3
  • 36
  • 69
4
votes
7 answers

List of relevant RPC Protocols

I need to evaluate and dig more into the use of Remote Procedure Call Protocols (over the network) and haven't found a comprehensive list of which I could include. There are some I already know from experience like RMI "RESTful style RPCs"…
Daff
  • 43,734
  • 9
  • 106
  • 120
4
votes
1 answer

Silverlight communication with XML RPC console server

I want to comunicate with Console XML RPC server from my silvelight application. Is it possibile? Steps: 1. Start the Console XML RPC server Code for Console XML RPC server is this: using System; using System.Collections; using…
Bero
  • 229
  • 1
  • 3
  • 16
4
votes
1 answer

magento xmlrpc session expires immediately

First up; this question is similar to another as-yet unresolved question: call to magento soap api expires immediately I am working on an XMLRPC-based client-server module. The Magento-based server has several API methods exposed to a Java-based…
Vish
  • 2,144
  • 5
  • 25
  • 48
4
votes
1 answer

Parse XMLRPC for Objective C for Iphone from PHP structArray like a HashMap from Java in Android app

basically need to translate the java code to objective-c to have it ready for View Controller for the iphone. XML-RPC PHP Code $structArray[] = new xmlrpcval(array( 'graffer' => new xmlrpcval($graffer), 'thumb' => new…
hram908
  • 374
  • 6
  • 15