Home > Backend Development > PHP Tutorial > php如何调用 .net开发的 webservice

php如何调用 .net开发的 webservice

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-23 14:05:28
Original
1171 people have browsed it

比如现在别人的网站提供了 webservice接口。。
我自己做了一套模版,我要调用webservice接口的数据,请问该怎么弄?


回复讨论(解决方案)

$soap = new SoapClient('http://.....')
Copy after login

看是什么协议的,soap还是rest协议了,是soap的话,需要装soap扩展,rest协议需要装curl扩展,具体可以百度一下

百度很多,拿到地址,传递参数就可。

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