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

How to control boolean rendering in xslt

To conform with the spec of Xml-RPC I need to transform my xs:boolean from true|false to 1|0. I solved this using xsl:choose Baz
Filburt
  • 17,626
  • 12
  • 64
  • 115
14
votes
2 answers

Tutorial: Simple WCF XML-RPC client

Update: I have provided complete code example in answer below. I have built my own little custom XML-RPC server, and since I'd like to keep things simple, on both server and client side, what I would like to accomplish is to create a simplest…
mr.b
  • 4,932
  • 11
  • 38
  • 55
13
votes
1 answer

Apache's Java XMLRPC library

I am using my XML-RPC service using Apache XML-RPC library but in reponse of XML-RPC has junk character so library can not parse the result Here, is my XML-RPC program: import java.net.URL; import org.apache.xmlrpc.client.XmlRpcClient; import…
13
votes
4 answers

Best way to use XML-RPC in Cocoa application?

I wanted to write a GUI-wrapper for an application which uses XML-RPC and wondered if there are any XML-RPC frameworks available for Cocoa and if so what's the best? Thanks in advance
Patrick
  • 381
  • 3
  • 9
13
votes
4 answers

Use Python xmlrpclib with unix domain sockets?

I'm trying to interact with supervisord, and I'd like to talk with it over a unix socket (it's a shared hosting environment). What I've tried so far is: import xmlrpclib server =…
Marcin
  • 48,559
  • 18
  • 128
  • 201
12
votes
2 answers

Android authenticating with Kerberos

I am trying to create a Android application that uses an existing web service. However, the existing web service uses Kerberos for authentication and I am having trouble getting Android using the android-xmlrpc library to authenticate with the…
jrmints
  • 141
  • 1
  • 1
  • 6
12
votes
2 answers

C++ Library for XML-RPC

There is a list of C++ XMLRPC implementations in Wikipedia: Libiqxmlrpc Ultra lightweight XML-RPC library for C++ XML-RPC for C and C++ XmlRpc++ XmlRpc C++ client for Windows gSOAP toolkit for C and C++ supporting XML-RPC and more libmaia: XML-RPC…
xyzt
  • 1,201
  • 4
  • 18
  • 44
12
votes
1 answer

Python's xmlrpc extremely slow: one second per call

I built an xml-rpc server in Python using SimpleXMLRPCServer, according to the example in the Python documentation. I'm calling it from a Python client on the same machine. The body of the server function executes very fast on its own. But I find…
JimB
  • 971
  • 8
  • 20
11
votes
2 answers

Selecting SSL_VERIFY_NONE for SSL_verify_mode

I am trying to create a client connection to an internal ssl site that does not have a certificate and needs to bypass the proxy. I am able to bypass the proxy, and I am able to connect to the site and create a client connection, however, i am…
Rod Baldwin
  • 111
  • 1
  • 1
  • 3
11
votes
6 answers

Weather web service for Europe?

We are looking for a reliable "current weather" web service for Europe, with city resolution. We only need the current weather. Since it is for a commercial web site, we don't mind paying a reasonable fee for the service. What are our options? What…
Sklivvz
  • 30,601
  • 24
  • 116
  • 172
10
votes
8 answers

Need sample XML-RPC client code for PHP5

Need a tutorial or some instruction on how to use the XML-RPC library built in to PHP (version PHP Version 5.2.6) for a XML-RPC client. The server is in Python and works. Google and php.net are failing me. Update: Per phpinfo I have xmlrpc-epi v.…
Christopher Mahan
  • 7,621
  • 9
  • 53
  • 66
10
votes
4 answers

How to base64 encode a PDF file in Python

How should I base64 encode a PDF file for transport over XML-RPC in Python?
Pat Notz
  • 208,672
  • 30
  • 90
  • 92
10
votes
2 answers

Integrating XMLRPC/Web Services with Core Data

I'm doing design for a project and nothing's been implemented - so I'm still going through the thought process to determine if Core Data is viable for the project. Here's my query - I want to create a managed object model using Core Data to…
Srinivas
  • 101
  • 4
10
votes
3 answers

Android-Magento- How to Get the Details of Multiple Products in Android using XML-RPC

How to get the details of Multiple products in a Single Call in Android using XMLRPC from Magento.I am able to get the list of products using the function catalog_product.list using XMLRPC. Now, i have the SKU id's of all the products.I am able to…
Haresh Chaudhary
  • 4,390
  • 1
  • 34
  • 57
9
votes
1 answer

PHP xmlrpc client and Python 2.5 xmlrpc server: incomplete data and Connection reset by peer error

I have a XML RPC server running with Python. It is implemented as an instance of the SimpleXMLRPCServer class. from SimpleXMLRPCServer import SimpleXMLRPCServer from SimpleXMLRPCServer import SimpleXMLRPCRequestHandler class MyClass: def…
Pih
  • 2,282
  • 15
  • 20