4

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?

Jeff LaFay
  • 12,882
  • 13
  • 71
  • 101
Obaid
  • 4,328
  • 9
  • 42
  • 42

3 Answers3

5

try this-> http://www.urdalen.no/wsdl2php/ it generates php wrapper from wsdl source

osm
  • 4,186
  • 3
  • 23
  • 24
  • 1
    can't run pear on my shared hosting account :( – Obaid May 11 '10 at 17:19
  • 6
    You can (and should) run wsdl2php on your local machine and upload the resulting php. PS: it doesn't need PEAR, just extract http://www.urdalen.no/wsdl2php/releases/wsdl2php-0.2-pear.tgz – Bob Fanger May 11 '10 at 18:52
3

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!

liudanking
  • 121
  • 1
  • 7
2

Try Zend_Soap:

Gordon
  • 312,688
  • 75
  • 539
  • 559