1
投票
2答案
1620 次观看

通过Wordpress XMLRPC标记帖子

我正在尝试通过XMLRPC API在wordpress博客上发布新帖子。到目前为止,这还算不错,但是现在我想在帖子中添加标签。在创建时或之后。但是我在受支持的API中找不到任何解决方案。 关于如何通过XMLRPC请求标记新帖子的任何线索吗?

0
投票
1答案
983 次观看

WordPress XMLRPC

我是否可以使用XMLPRC作为“贡献者”发布?即使它只是出现在“草稿”部分中,需要更高级别的人批准? 是否有解决方法?

5
投票
1答案
1251 次观看

Supervisord RPC-如有要求,请提供UNKNOWN_METHOD

我已经配置了(几乎是默认的)supervisord.conf并开始了supervisord。启动任务和xmlrpc接口启动,但提供 在evey xmlrpc请求上显示xmlrpclib.Fault: <Fault 1: 'UNKNOWN_METHOD'>,即使在启动supervisorctl本身时也是如此。 日志中有一条相同的消息: TRAC XML-RPC method called: supervisor.getAllProcessInfo() TRAC XML-RPC method supervisor.getAllProcessInfo() returned f...

0
投票
1答案
92 次观看

Web服务的调用者的名称/身份

我有一个SOAP Web服务,我使用axis2从两个客户端调用了该服务。Web服务可以知道呼叫源自这两个客户端中的哪一个吗?如果是这样,我怎么知道在运行时?是否提供任何API来查找该Web服务的特定Web服务的调用者的名称。谢谢。

0
投票
2答案
955 次观看

Web服务中的i18n

你们通常如何在网络服务中使用i18n?特别是XmlRpc。你们只是抛出密码(例如错误1011-密码无效)或什么? [编辑] 我们从事的项目包括3个层:表示层,业务逻辑层和数据层。在这里,我将它们称为前,中和后。 前端是用PHP编写的,并且它通过Web服务(XML-RPC)与中间语言进行通信。用户还可以编写自己的客户与中间人交谈。中间语言是用Java开发的,它执行业务逻辑并向前端提供数据,也可能向前端抛出异常。 现在,我们要使其具有多语言支持(i18n)。因此,在这里我们需要你们的意见/建议,以帮助我们在中间层实现这一目标,尤其是将异常抛出到前端。

3
投票
1答案
2615 次观看

Joomla和XMLRPC

如何开始使用joomla进行XML-RPC?我一直在寻找文档,却一无所获... 我想连接到joomla服务器(启用Core Joomla XML-RPC插件后),并能够执行诸如登录和添加文章之类的操作,并尽可能调整文章的所有参数。 我的xml-rpc客户端实现将在python中实现。

2
投票
3答案
1788 次观看

Apache的Java XMLRPC库出现问题

所以我试图让我的Apache xmlrpc客户端/服务器实现发挥作用。除了一个关键问题,一切都正常: 我的处理程序类(通过属性文件org.apache.xmlrpc.webserver.XmlRpcServlet.properties映射)会做出应有的反应,但是在每次方法调用时都会调用它的构造函数。似乎在每次调用时都会实例化处理程序类,这很糟糕,因为我将数据存储在需要在两次调用之间保存的实例变量中。 如何保存对实例化处理程序的引用,以便可以访问其实例变量?

7
投票
3答案
5348 次观看

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...

4
投票
7答案
1539 次观看

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...

5
投票
1答案
3030 次观看

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...

4
投票
1答案
620 次观看

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...

1
投票
2答案
1262 次观看

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...

0
投票
1答案
200 次观看

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...

0
投票
3答案
720 次观看

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...

1
投票
1答案
1794 次观看

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...

1
投票
3答案
33599 次观看

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...

0
投票
1答案
2180 次观看

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

1
投票
2答案
512 次观看

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?

3
投票
3答案
10146 次观看

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...

0
投票
2答案
2613 次观看

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...

17
投票
5答案
7692 次观看

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...

3
投票
1答案
8005 次观看

"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...

1
投票
1答案
2855 次观看

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...

16
投票
2答案
32272 次观看

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...

0
投票
1答案
1840 次观看

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...

1
投票
1答案
420 次观看

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...

10
投票
2答案
710 次观看

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...

2
投票
2答案
2042 次观看

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:...

3
投票
2答案
1198 次观看

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.

3
投票
1答案
2166 次观看

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...