xml-rpc

Python XMLRPC with concurrent requests

I'm looking for a way to prevent multiple hosts from issuing simultaneous commands to a Python XMLRPC listener. The listener is responsible for running scripts to perform tasks on that system that would fail if multiple users tried to issue these commands at the same time. Is there a way I can block all incoming requests until the single...

Problem with Apache's Java XMLRPC library

So i'm trying to get my Apache xmlrpc client/server implementation to play ball. Everything works fine except for one crucial issue: my handler class (mapped through the properties file org.apache.xmlrpc.webserver.XmlRpcServlet.properties) reacts as it should but it's constructor is called at every method invocation. It would seem that ...

Joomla and XMLRPC

How do I get started with getting going with XML-RPC with joomla? I've been looking around for documentation and finding nothing... I'd like to connect to a joomla server, (after enabling the Core Joomla XML-RPC plugin), and be able to do things like login and add an article, and tweak all the parameters of the article if possible. My ...

i18n in web service

Hi guys, How you guys usually do i18n in web service? especially XmlRpc. You guys just throw code number (e.g Error 1011 - Password not valid) or what? [edit] The project that we worked on consists of 3 tiers: the presentation tier, the business logic tier and data tier, I will call them here the front, mid and back. The front is wri...

The name/identity of the invoker of a web service

I have a SOAP web service which I call from two clients using axis2. Can the web service know from which of these two clients the call originated from? If so, how do I know that during runtime? Is there any API provided to lookup the name of the invoker of a particular web service by that web service. Thanks. ...

Supervisord RPC - UNKNOWN_METHOD on any request

I've configured (almost default) supervisord.conf and started supervisord. Tasks launched and xmlrpc interfaces are up, but gives xmlrpclib.Fault: <Fault 1: 'UNKNOWN_METHOD'> on evey xmlrpc request, even when launching supervisorctl itself. There is a same message in the log: TRAC XML-RPC method called: supervisor.getAllProcessInfo() T...

Wordpress XMLRPC

Is there a way for me to post as a "contributor" using XMLPRC? Even if it just shows up in the Draft's section to be approved by someone of a higher level? Is there a workaround for this? ...

Tagging Posts via Wordpress XMLRPC

Hey there, i am trying to publish a new post to a wordpress blog over the XMLRPC API. This works out fine so far, but now i want to add tags to the post. Either at creation time or afterwards. But i can't find any solutions in the supported APIs. Any clue on how i can tag new posts via XMLRPC requests? ...

XML-RPC Standard and XML Data Type

I was looking at XML-RPC for a project. And correct me if I'm wrong, but it seems like XML-RPC has no XML datatype. Are you supposed to pass as a string? or something else? Am I missing something? Looks like this was though of with SOAP. ...

NSXMLParser ignores element named <id>

Hi there, I'm using Wordpress's XML-RPC framework in my project. Now I have a situation where in the XML response there is a tag named which contains user data and by the time the response has been parsed and returned as some array format, that tag and it's value are gone. I have traced this down to NSXMLParser's parse method. Anyone ...

Zend_XmlRpc parameter trouble

I'm trying to get a simple client/server XMLRPC server setup but I am having trouble using parameters. The code runs fine if I take the $client_id parameter out of the fetchClient() method and $client->call(). However if I include it, the server returns "Calling parameters do not match signature" Controller Code: class XmlrpcController...

J2me web service connection problem

hi, i'm trying to connect to a php web service using kxml-rpc api and the code is as simple as this: XmlRpcClient xmlrpc = new XmlRpcClient("http://***ip here***:88/secure/service"); Vector parameters = new Vector(); parameters.addElement("value"); String result = (String) (xmlrpc.execute("functionName", parameters)); Mobile device...

Is there a way to view the actual XML produced and received by the xmlrpc-c library?

I've got a system where some C++ code (using xmlrpc-c) talks to a Java servlet which uses the Apache XML-RPC library. I've got a problem that would be a whole lot easier to resolve if I could view the actual XML being sent back and forth. Is there some way to turn on logging of the wire protocol XML in either Apache XMLRPC or xmlrpc-c? ...

Can anyone explain the difference between XMLRPC, SOAP and also the C# Web Service?

Are they just the same protocol or something different? I am just confused about it. Actually, I want to call a web service written in C# with ASP.NET by Python. I have tried XMLRPC but it seems just did not work. So what is the actually difference among them? Thanks. ...

setting XML value using xmlrpc & python

Hi , I need to set the value of a field in an XML file which exists on a remote Linux box. How do I find out which port I should connect to ? But even a proper ping is not happening: import xmlrpclib server = xmlrpclib.ServerProxy('http://10.77.21.240:9000') print server.ping() print "I'm in hurray" bUT instead I got: Traceback (mo...

Unescape HTML entities in Javascript?

I have some Javascript code that communicates with an XML-RPC backend. The XML-RPC returns strings of the form: <img src='myimage.jpg'> However, when I use the Javascript to insert the strings into HTML, they render literally. I don't see an image, I literally see the string: <img src='myimage.jpg'> My guess is that the HTML is bei...

XML-RPC object mapping

Recently I was working on web services proxy. I got 2 web services proxy. UI will call Proxy A to let say create a record. then what Proxy A will do is to call Proxy B to do the actual task which create the record (For some reason must go through Proxy A) now the problem is When UI call Proxy A, Proxy A will pass the objectA to Proxy B c...

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 object and attach the API classes to it. I want to authenticate any XML-RPC method that ge...

Is There an Example of Using ActiveResource and XMLRPC for Rails?

I've seen a ton of examples with ActionWebService and XMLRPC, but they're 3 years old and from what I understand, ActiveResource is supposed to replace ActionWebService. I'm familiar with how ActiveResource can use XML to "talk" to other web sites and consume model information, but XML-RPC is a whole different type of thing, wherein you...

Using Groovy and HttpBuilder for XML-RPC access

The groovy own library for XML-RPC does not support basic authorization. I try to use httBuilder ( http://groovy.codehaus.org/modules/http-builder/home.html ) build on top of HttpComponents http://hc.apache.org/) to access TRAC via XML-RPC. def postBody = """ <?xml version="1.0"?> <methodCall> <methodName>wiki.getPage</methodName> <par...