首页 > 解决方案 > 使用python访问内网webservice

问题描述

我需要访问Intranet下的webservice。

我在互联网下尝试了 suds-jurko,效果很好。

但是在内网下不行,因为它总是尝试打开“http://www.w3.org/2001/xml.xsd”和“http://www.w3.org/2001/XMLSchema.xsd”在内网下打不开。

请告诉我如何才能完成这项工作,非常感谢。

标签: pythonweb-servicessudsintranet

解决方案


改用 zeep。

Zeep 3.4 与 Python 2.7、3.3、3.4、3.5、3.6、3.7 和 PyPy 兼容。

Zeep 4 与 Python 3.6、3.7、3.8 和 PyPy 兼容。


推荐阅读