问题
I have a bunch of webservices that I need to write PHP clients for. Now I can manually write wrappers for each of the WSDL files but i wanted to see if there is a tool that can help me by generating the wrappers in PHP.
Any idea if there are any tools that do this?
回答1:
try this-> http://www.urdalen.no/wsdl2php/ it generates php wrapper from wsdl source
回答2:
You may try https://www.wsdltophp.com It is convenient to genetate php class from URI
And the author is @Mikaël DELSOL. It is fantastic!
回答3:
Try Zend_Soap
:
- http://framework.zend.com/manual/en/zend.soap.html
- http://www.phpriot.com/articles/zend-soap
来源:https://stackoverflow.com/questions/2811789/generate-php-code-from-wsdl