apache2

WSDL to PHP Code generation

  1. Download wsdl2phpgenerator-2.5.5.phar
  2. Run php wsdl2phpgenerator-2.5.5.phar -i input.wsdl -o tmp/my/directory/wsdl

The directory is created if possible.

 

References:

1. Book: Pro PHP XML and Web Services – Page No. 690

2. http://arnekroeger.blogspot.com/2011/02/php-soap-creating-and-consuming-wsdl.html

3. https://github.com/wsdl2phpgenerator/wsdl2phpgenerator-cli