SOAP和XMLRPC [英] SOAP and XMLRPC

查看:77
本文介绍了SOAP和XMLRPC的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好...

有人知道是否可以使用适用于VB的Python SOAP或XMLRPC

服务器?我希望你能包括这些例子

客户端和服务器程序。


我的例子是:


# Server.py

导入SOAPpy


def sum(x,y):

返回x + y


server = SOAPpy.SOAPServer((localhost",8080))

server.registerFunction(sum)

server.serve_forever()



#client.py

导入SOAPpy


server = SOAPpy.SOAPProxy(" http :// localhost:8080")

print server.sum(5,6)

#这应该打印:11

这些程序非常完美。问题是我需要从VB访问

服务器(就像SOAPpy访问谷歌的服务一样)


非常感谢


Daniel

Hi to all...
Someone knows if is there possible to have a Python SOAP or XMLRPC
server that works with VB? I would like you to include the examples
clients and server programs.

My examples are:

#Server.py
import SOAPpy

def sum(x,y):
return x+y

server = SOAPpy.SOAPServer(("localhost", 8080))
server.registerFunction(sum)
server.serve_forever()


#client.py
import SOAPpy

server = SOAPpy.SOAPProxy("http://localhost:8080")
print server.sum(5,6)

#This should print: 11

These programs work perfect. The thing is that I need to access the
server from VB (like does SOAPpy accessing google''s services)

Many thanks

Daniel

推荐答案

dcrespo写道:
dcrespo wrote:
大家好...
有人知道是否可以使用适用于VB的Python SOAP或XMLRPC服务器?我希望您包含示例
客户端和服务器程序。

我的例子是:

.......
这些程序工作完美。问题是我需要从VB访问
服务器(就像SOAPpy访问谷歌的服务一样)

非常感谢

丹尼尔
Hi to all...
Someone knows if is there possible to have a Python SOAP or XMLRPC
server that works with VB? I would like you to include the examples
clients and server programs.

My examples are:
.......
These programs work perfect. The thing is that I need to access the
server from VB (like does SOAPpy accessing google''s services)

Many thanks

Daniel



我最近帮助过的学生在各种网络服务上做了一个项目

协议。 SOAP的互操作性不是很好。 XMLRPC要好得多

他很容易得到java-python等等。

-

Robin Becker


A student whom I helped recently did a project on the various web service
protocols. Interoperability for SOAP was not very good. XMLRPC was much better
and he got java -- python etc etc pretty easily.
--
Robin Becker


嗨...谢谢你的答复,但是你可以给我他的联系方式或告诉

他在这里发布答案我正在寻找对于?我需要认真对待它。

Hi... Thanks for your answer, but can you give me his contact or tell
him to post here the answer I''m looking for? I''m needing it seriously.


dcrespo写道:
dcrespo wrote:
嗨...谢谢你的回答,但你能不能给我他的联系或告诉他在这里发布我正在寻找的答案?我需要认真对待。
Hi... Thanks for your answer, but can you give me his contact or tell
him to post here the answer I''m looking for? I''m needing it seriously.



嗯,我不是VB人,所以也许你需要在VB列表上询问。不幸的是

学生已经消失在现实世界中。

-

Robin Becker


Well I''m not a VB person so perhaps you need to ask on a VB list. Unfortunately
the student has vanished into the real world.
--
Robin Becker


这篇关于SOAP和XMLRPC的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆