Webservice call from PHP – wsdl2php makes it simple
Posted on 10. Nov, 2009 by Sajith M.R in php
From PHP we usually do a lot of coding to create a webservice client. We use nusoap library for this purpose. But in the case of complex objects, it is very hard to create a soap client call. We need to create a class structure before invoke a wsdl call.

As a solution, you can use wsdl2php converter tool. It is a command line tool, you can provide the wsdl url as an input and it generates a php file to make the soap client call. The tool may show some error during its conversion , but in the end, you will get a PHP code which executes.
Download wsdl2php from: http://www.urdalen.no/wsdl2php/



Fredrik Wallgren
Nov 24th, 2009
Hello!
I would like to recommend wsdl2phpgenerator(http://code.google.com/p/wsdl2phpgenerator/). It has support for PHP5.3 and can be used as a cli application or used directly in your PHP code as a code library.