问一个有关问题,如何用php做web service服务

WBOY
Release: 2016-06-13 10:25:51
Original
843 people have browsed it

问一个问题,怎么用php做web service服务
还没试过。。。


谁弄过的,,给个简单的例子啊

就hello world好了

------解决方案--------------------
soap? 我的学习步骤:

1,看w3school里的soap和wsdl
2, 使用zend studio制作wsdl
3, 将wsdl放在apache下供下载
4,编写一个soap server,加载本地wsdl,定义并注册wsdl里的函数,执行handle。
5,编写一个soap client, 加载远端wsdl,直接调用wsdl里的函数,工作原理:__call。

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!