wsdl 肥皂服务器不返回 xml [英] wsdl soap server not returning xml
问题描述
我必须用php编写soap wsdl服务器.要求:请求:两个参数说 startDate &结束日期回复:如下
<学生名字='先生.A'姓氏='B'/><学生名字='先生.B'姓氏='C'/></学生>
谁能帮我写wsdl文件&用于上述要求的soap服务器.我尝试了很多方法,但最后 4 天都失败了.
请帮助编写 WSDL 文件 &与 WSDL 文件通信的 SOAP 服务器,如果可能的话,一个测试客户端来验证.
提前致谢
试试 SoapServer
类:http://www.php.net/manual/en/class.soapserver.php
请记住,此类并不总是可用:http://www.php.net/manual/en/soap.installation.php
我使用 Google 找到了一些解释如何设置 SOAP 网络服务的教程:
- http://devzone.zend.com/25/php-soap-extension/
- http://www.phpeveryday.com/articles/Web-Services-WSDL-Creating-SOAP-Server-P477.html
<块引用>请帮助编写 WSDL 文件 &与之通信的 SOAP 服务器WSDL 文件,如果可能,测试客户端进行验证.
恕我直言,对一个简单的问答网站抱有很高的期望......
I have to write soap wsdl server in php. Requirement: request:two parameters say startDate & endDate response: as follows
<students>
<student FirstName='Mr. A' LastName='B' />
<student FirstName='Mr. B' LastName='C' />
</students>
Can any one help me writing wsdl file & soap server for the above requirement. I tried many ways but failing for last 4 days.
Please help in writing WSDL file & SOAP Server which communicates with WSDL file, if possible a test client to verify.
Thanks in Advance
Try the SoapServer
class:
http://www.php.net/manual/en/class.soapserver.php
Keep in mind that this class is not always available: http://www.php.net/manual/en/soap.installation.php
Using Google I found a few tutorials explaining how to set up a SOAP web service:
- http://devzone.zend.com/25/php-soap-extension/
- http://www.phpeveryday.com/articles/Web-Services-WSDL-Creating-SOAP-Server-P477.html
Please help in writing WSDL file & SOAP Server which communicates with WSDL file, if possible a test client to verify.
IMHO quite high expectations on a simple Q&A site...
这篇关于wsdl 肥皂服务器不返回 xml的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!