Python 3.x 有哪些 SOAP 库? [英] What SOAP libraries exist for Python 3.x?

查看:53
本文介绍了Python 3.x 有哪些 SOAP 库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在网上搜索了 Python 3 的现有和支持 SOAP 库.(客户端和服务器)

I searched the web for an existing and supported SOAP library for Python 3. (both client and server)

这是我找到的库列表:

Python 2:

  • Zeep:在 Python 中活跃且有据可查2.7/3
  • SOAPy:停止使用 Python 2 项目
  • ZSI:停止使用 Python 2 项目
  • soaplib:停止使用 Python 2 项目
  • SUDS:停止 Python 2 项目(自 2012 年 2 月起无活动)
  • rpclib:停止 Python 2 项目(自 2012 年 8 月 8 日起无活动)
  • Zeep: active and well documented in Python 2.7/3
  • SOAPy: discontinued Python 2 project
  • ZSI: discontinued Python 2 project
  • soaplib: discontinued Python 2 project
  • SUDS: discontinued Python 2 project (no activity since 02/2012)
  • rpclib: discontinued Python 2 project (no activity since 08/2012)

Python 3:

  • Zeep:活跃且有据可查的 Python 2/3 项目
  • SOAPy:停止使用 Python 2 项目
  • pysimplesoap:活动 Python 2/3 项目
  • SUDS-jurko:非常不活跃.Python 2/3 项目
  • ladon:低活跃度.但仅限网络服务
  • Zeep: active and well documented Python 2/3 project
  • SOAPy: discontinued Python 2 project
  • pysimplesoap: active Python 2/3 project
  • SUDS-jurko: quite inactive. Python 2/3 project
  • ladon: low activivty. but web services only

您觉得这份清单完整吗?(仅供参考,我使用了这个 post 作为起点(该帖子的目的是相同的,但对于 Python 2))

Does this list seems complete to you? (FYI, I used this post as starting point (The purpose of that post was the same but for Python 2))

ladon 在我看来是 Python 3 唯一现有的框架,但 AFAIK 只能用于实现服务器端.

ladon seems to me the only existing framework for Python 3 but can AFAIK only be used for implementing the server side.

:我不想自己迁移已停产的 Python 2 项目之一.我正在寻找一个支持的项目,该项目有一个活跃的团队在需要时提供帮助.

NO: I don't want to migrate one of the discontinued Python 2 projects myself. I am looking for a supported project with an active team providing help if needed.

更新于 28/09/2013

Updated on 28/09/2013

推荐答案

根据服务的复杂程度,您可以在服务器端使用 ladon 并手动模拟客户端,直到有更好的解决方案可用.

Depending on the complexity of the service, you could use ladon for the server side and mock up the client by hand until there's a better solution available.

只需在打开日志记录的情况下使用 suds(或类似的)调用服务,并注意请求上的 SOAP 包装.使用它来包装您的请求并使用普通的 http 调用服务.

Just call the service with suds (or similar) with logging turned on and note the SOAP wrapping on the request. Use that to wrap your request and call the service with plain http.

这不是一个理想的解决方案,但它可以帮助您解决问题,直到您有一个包来替换它.

It's not an ideal solution, but it can get you by until you have a package to replace it.

这篇关于Python 3.x 有哪些 SOAP 库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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