Все вопросы: [xml-rpc]
102 вопросов
Пометка сообщений через Wordpress XMLRPC
Я пытаюсь опубликовать новый пост в блоге wordpress через XMLRPC API.Пока все работает нормально, но теперь я хочу добавить теги к сообщению.Либо во время создания, либо позже.Но я не могу найти никаких решений в поддерживаемых API. Есть какие-нибудь сведения о том, как я могу пометить новые ...
Wordpress XMLRPC
Могу ли я написать сообщение в качестве "участника" с помощью XMLPRC?Даже если он просто появляется в разделе «Черновик» для утверждения кем-то более высокого уровня? Есть ли обходной путь для этого?
Supervisord RPC - UNKNOWN_METHOD по любому запросу
Я настроил (почти по умолчанию) supervisord.conf и запустил supervisord.Запущены задачи и интерфейсы xmlrpc работают, но дает xmlrpclib.Fault: <Fault 1: 'UNKNOWN_METHOD'> при каждом запросе xmlrpc, даже при запуске самого supervisorctl. В журнале есть такое же сообщение: TRAC XML-RPC...
Имя / идентификатор вызывающего веб-сервиса
У меня есть веб-служба SOAP, которую я вызываю из двух клиентов, использующих axis2.Может ли веб-служба узнать, от какого из этих двух клиентов поступил вызов?Если да, то как мне узнать это во время выполнения?Предоставляется ли какой-либо API для поиска имени вызывающего конкретную веб-службу э...
i18n в веб-сервисе
Как вы обычно используете i18n в веб-сервисах?особенно XmlRpc.Вы, ребята, просто кидаете код (например, ошибка 1011 - пароль недействителен) или что? [редактировать] Проект, над которым мы работали, состоит из трех уровней: уровень представления, уровень бизнес-логики и уровень данных, я н...
Joomla и XMLRPC
Как начать работу с XML-RPC с помощью joomla?Я искал документацию и ничего не нашел ... Я хотел бы подключиться к серверу joomla (после включения основного плагина XML-RPC Joomla) и иметь возможность выполнять такие действия, как вход в систему и добавление статьи, а также настраивать все пар...
Проблема с библиотекой Java XMLRPC Apache
Итак, я пытаюсь заставить мою реализацию клиент / сервер Apache xmlrpc играть в мяч. Все работает нормально, за исключением одной важной проблемы: мой класс обработчика (отображаемый через файл свойств org.apache.xmlrpc.webserver.XmlRpcServlet.properties) реагирует должным образом, но его кон...
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 bl...
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" XML-RPC SOAP JSON-RPC (CORBA ?) GWT-RPC and other Ven...
XML-RPC C# and Python RPC Server
On my server, I'm using the standard example for Python (with an extra Hello World Method) and on the Client side I'm using the XML-RPC.NET Library in C#. But everytime I run my client I get the exception that the method is not found. Any Ideas how fix that. thanks! Python: from SimpleXMLRPCS...
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 System.Runtime.Remoting; using System.Runtime.Remoting.Channels; u...
XML-RPC server with better error reporting
Standard libraries (xmlrpclib+SimpleXMLRPCServer in Python 2 and xmlrpc.server in Python 3) report all errors (including usage errors) as python exceptions which is not suitable for public services: exception strings are often not easy understandable without python knowledge and might expose some...
Documenting an XML-RPC service
I'm writing an XML-RPC service that will be consumed by third parties and was wondering what the best way of documenting it would be. As far as I can see, XML-RPC doesn't have any equivalent to SOAP's WSDL to provide a description of the service, so presumably it's something I will have to docum...
Python HTTP server with XML-RPC
I have a server that has to respond to HTTP and XML-RPC requests. Right now I have an instance of SimpleXMLRPCServer, and an instance of BaseHTTPServer.HTTPServer with a custom request handler, running on different ports. I'd like to run both services on a single port. I think it should be poss...
Need a HTTPS-capable Python XML-RPC server
I already have a very simple threading XML-RPC server in Python: from SocketServer import ThreadingMixIn class AsyncXMLRPCServer(ThreadingMixIn, SimpleXMLRPCServer): pass server = AsyncXMLRPCServer(('localhost', 9999)) server.register_instance(some_object()) server.serve_forever() Now I w...
Enable XML-RPC in PHP.ini
I have Joomla and a component called MyBlog (azrul.com) installed. To enable pinging of Technorati I must enable xml-rpc. By default this is disabled on my Shared Hosting account and cannot be changed. However, DreamHost says you can create your own custom advanced php5 installation. Instructi...
Java XmlRPC Authentication
Any clue or example on how to implement basic authentication for XMLRPC using org.apache.xmlrpc.webserver.WebServer? I'm using the Java API apache-xmlrpc-3.1.2 and I'm not being able to implement authentication without org.apache.xmlrpc.webserver.ServletWebServer
ServletWebServer or WebServer?
What is the advantage of using org.apache.xmlrpc.webserver.ServletWebServer instead of or.apache.xmlrpc.webserver.WebServer when working with XMLRPC in JAVA? Can I use functions that return array of primitives types or nulls with ServletWebServer?
Socket in use error when reusing sockets
I am writing an XMLRPC client in c++ that is intended to talk to a python XMLRPC server. Unfortunately, at this time, the python XMLRPC server is only capable of fielding one request on a connection, then it shuts down, I discovered this thanks to mhawke's response to my previous query about...
Understanding XML-RPC param possibilities, especially recursion of values
One thing I've noticed with all the XML-RPC examples out there, including the spec itself, is there is no detailed example of a schema using recursive (param) values. It is hard to understand what should actually be possible within XML-RPC without these illustrations, and I wonder if someone coul...
What is the benefit of XML-RPC over plain XML?
My company has been using XML-RPC for a while, but lately I'm wondering what the benefit is of XML-RPC compared to plain XML. Firstly, it's horrible "obese", consider: <struct> <member> <name>ROOM_ID</name> <value> <int>1</in...
"Hello World" for a Joomla web service?
I'd like to write a small web service in Joomla for a client, but I'm not sure how to get started. Although I'm moderately familiar with Joomla and quite comfortable with web services, I'm a complete stranger to web services in Joomla. Is there a "hello, world" example that anyone's aware of, or...
C# XML RPC = Response not valid XML RPC - Using CookComputing XMLRpc.net
I develop an open source project called JoeBlogs - it's a C# wrapper for Wordpress, and other blogs. Here's a post on using JoeBlogs http://www.alexjamesbrown.com/geek/using-joeblogs/ Recently, i've had a lot of comments that people are getting an error on the CookComputing component: “Response...
how to use XMLRPC in C#
I need to make XMLRPC calls from my C# application and I failed to find any help with that. When I used XMLRPC from Ruby, it's that simple: server = XMLRPC::Client.new2("http://server/api.php") result = server.call("remote.procedure", [1, [['crit1', 'crit2', 'crit3']]]) is there any similar li...
XML-RPC error while running client
Exception in thread "Thread-4" java.lang.InstantiationError: org.apache.xmlrpc.XmlRpcRequest at org.apache.xmlrpc.XmlRpcRequestProcessor.decodeRequest(XmlRpcRequestProcessor.java:82) at org.apache.xmlrpc.XmlRpcWorker.execute(XmlRpcWorker.java:143) at org.apache.xmlrpc.XmlRpcServer.exe...
What wrong when SimpleXMLRPC and DBusGMainLoop working in the same time
In python I try create a service that maintain calling event between SflPhone(dbus service) and external app, when I start SimpleXMLRPCServer my service no longer response for any calling event, such as on_call_state_changed function was not called. When I comment out thread.start_new_thread(st...
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 represent some server side objects e.g Folder, File, e...
How to implement an XML-RPC server in AS3 (Flash or AIR runtime)?
I'm looking for a good XML-RPC server implementation to be included as part of an existing Flash+AS3 application in order to be notified on events by a client. The ideal implementation should be well written, documented, reliable and encapsulated in order to be easily and cleanly wrapped. EDIT:...
What is the simplest library for consuming wordpress xmlrpc API
I want to consume wordpress XMLRPC API for my latest experiment. Do you know what is the simplest library to do this? PHP4 compatibility is not important as it's obsolete anyway.
Need a code sample showing how to post to Wordpress using Codeigniter
Does anyone have a code sample they can share that show how to make a basic blog post to Wordpress using the CodeIgniter xml-rpc library? So far, I have this, which always results in "Bad login/pass combination", although I am using the correct combination. function doPost(){ $this->lo...