我必须在php中编写soap wsdl服务器。要求:请求:两个参数说startDate &endDate响应:如下
<students>
<student FirstName='Mr. A' LastName='B' />
<student FirstName='Mr. B' LastName='C' />
</students>
谁能帮我写wsdl文件&满足上述需求的Soap服务器。在过去的4天里,我尝试了很多方法,但都失败了。
请帮助编写WSDL文件&SOAP服务器,它与WSDL文件通信,如果可能的话,一个测试客户端来验证。
Thanks in Advance
试试SoapServer
类:http://www.php.net/manual/en/class.soapserver.php
请记住,这个类并不总是可用的:http://www.php.net/manual/en/soap.installation.php
使用Google,我找到了一些解释如何设置SOAP web服务的教程:
- http://devzone.zend.com/25/php-soap-extension/
- http://www.phpeveryday.com/articles/Web-Services-WSDL-Creating-SOAP-Server-P477.html
请帮助编写WSDL文件&与之通信的SOAP服务器WSDL文件,如果可能的话,一个测试客户端来验证。
IMHO相当高的期望在一个简单的Q& a网站…