- 论坛徽章:
- 0
|
这里介绍来自红皮书《Building SOA-based Solutions for IBM System i Platform》的两个例子,
用来说明如何在 System i 平台上用 php 架构 SOA 服务的方法。
《 Building SOA-based Solutions for IBM System i Platform (SG24-7284-00) 》
http://www.redbooks.ibm.com/abstracts/sg247284.html?Open
书中第八章和第十一章 分别讨论了如何用 PHP 构建 SOA 的 Service Provider 和 Service Comsumer。
其中还谈到用 Zend Studio 的 WSDL Generator 可以根据 PHP 文件来生成相应的 WSDL 文件,特别方便。
请下载附件,并按照 README.txt 所说的步骤即可。
===============================================================
附:
PHP SOAP implementations
There is more than one SOAP implementation available for PHP 5. One is NuSOAP.
NuSOAP is provided by NuSphere and Dietrich Ayala. It is a set of PHP classes. No PHP
extensions are required that allow developers to create and consume Web services.
The other is PEAR SOAP Extension. PHP 5's SOAP extension is the first attempt to implement
the SOAP protocol for PHP in C. It has some advantages over the existing implementations
written in PHP itself, the main one being speed. The SOAP extension implements a large subset
of SOAP 1.1, SOAP 1.2, and WSDL 1.1 specifications. The key goal is to use the RPC feature of
the SOAP protocol.
WSDL is used where possible in order to make the implementation of Web Services more
straightforward. Limited documentation is available at:
http://us2.php.net/manual/en/ref.soap.php |
|