WCF 和 Python [英] WCF and Python

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

问题描述

是否有任何可以调用 Windows Communication Foundation (WCF) 的 cpython(不是 IronPython)客户端的示例代码) 服务?

Is there any example code of a cpython (not IronPython) client which can call Windows Communication Foundation (WCF) service?

推荐答案

WCF 需要通过通信协议公开功能.我认为最常用的协议可能是 SOAP over HTTP.让我们假设那是你在使用什么.

WCF needs to expose functionality through a communication protocol. I think the most commonly used protocol is probably SOAP over HTTP. Let's assume that's what you're using then.

查看深入 Python 中的这一章.它会告诉你如何进行 SOAP 调用.

Take a look at this chapter in Dive Into Python. It will show you how to make SOAP calls.

我知道在 Python 中没有统一的调用 WCF 服务的方式,无论通信如何协议.

I know of no unified way of calling a WCF service in Python, regardless of communication protocol.

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

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