wsdl soap server not returning xml

空扰寡人 提交于 2019-12-11 18:04:54

问题


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


回答1:


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...



来源:https://stackoverflow.com/questions/8212349/wsdl-soap-server-not-returning-xml

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!