简体   繁体   English

wsdl soap服务器未返回xml

[英]wsdl soap server not returning xml

I have to write soap wsdl server in php. 我必须在php中编写soap wsdl服务器。 Requirement: request:two parameters say startDate & endDate response: as follows 要求:request:两个参数分别说startDate和endDate响应:如下

<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. 任何人都可以帮助我为上述要求编写wsdl文件和soap服务器。 I tried many ways but failing for last 4 days. 我尝试了很多方法,但最后4天都失败了。

Please help in writing WSDL file & SOAP Server which communicates with WSDL file, if possible a test client to verify. 请帮助编写WSDL文件和与WSDL文件通信的SOAP服务器,如果可能的话,请测试客户端进行验证。

Thanks in Advance 提前致谢

Try the SoapServer class: http://www.php.net/manual/en/class.soapserver.php 尝试SoapServer类: http : SoapServer

Keep in mind that this class is not always available: http://www.php.net/manual/en/soap.installation.php 请记住,此类并非始终可用: http : //www.php.net/manual/zh/soap.installation.php

Using Google I found a few tutorials explaining how to set up a SOAP web service: 使用Google,我找到了一些教程来解释如何设置SOAP Web服务:

IMHO quite high expectations on a simple Q&A site... 恕我直言,人们对一个简单的问答网站的期望很高。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM