Home > Backend Development > PHP Tutorial > 怎么cakephp实现web service

怎么cakephp实现web service

WBOY
Release: 2016-06-13 13:38:36
Original
760 people have browsed it

如何cakephp实现web service
php可以用soap去实现 web service!
在使用cake的时候,我们如何实现web service呢?各位cakephp老鸟们 ,指点下小弟。。

------解决方案--------------------
xmlrpc google搜
------解决方案--------------------
http://bakery.cakephp.org/articles/sdevore_myopenid_com/2007/01/22/restful-web-services-with-cakephp
------解决方案--------------------

探讨
php可以用soap去实现 web service!
在使用cake的时候,我们如何实现web service呢?各位cakephp老鸟们 ,指点下小弟。。

------解决方案--------------------
$client = new SoapClient("http://aaaa",array('encoding'=>'UTF-8'));
$result = $client->__call("jx",array());
$rs = $result->Result->any;
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