用python的suds访问web service (soap) 服务端是php写的

WBOY
Release: 2016-06-02 11:27:56
Original
935 people have browsed it

soapphppythonweb service

想让一个系统可以获取另一个系统的数据。
客户端系统是python写的,服务端是用php。
python端访问

<code>import sudsurl = 'http://www.xxxx.cn/soap/Service.php?wsdl'client = suds.client.Client(url)result = client.service.afunction(param1,param2)</code>
Copy after login

php服务端的缓存已经关了
我每次都循环1000次 result = client.service.afunction(param1,param2)
有时第二三次就调用成功
有时几百次才成功
偶尔1000次都不成功

为什么这么不稳定 是不是有什么参数我没设置?

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!