Simple utility and class library for generating php classes from a wsdl file.
Pull request Compare This branch is 413 commits behind wsdl2phpgenerator:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
conf
lib
src
tests
CHANGES
LICENSE
README
generate.php
wsdl2php
wsdl2php.bat
wsdl2php.php

README

README wsdl2phpgenerator

Simple WSDL to PHP classes converter. Takes a wsdl file and outputs class files ready to use.

Uses the MIT licence (http://www.opensource.org/licenses/mit-license.php)

Usage:
Use the executable (uses #!/usr/bin/php so change this first if you have php installed elsewhere) or use the Generator class directly.

Usage executable:
./wsdl2php -i input.wsdl -o /tmp/my/directory/wsdl

The directory is created if possible.

usage listed under ./wsdl2php -h

Usage code:
<?php
require_once __DIR__."/path/here/Generator.php";

$generator = Generator::instance();
$generator->setDisplayCallback( function( $msg ) {
	echo "{$msg}\n";
});
$generator->generate( 
	new Config( SOAPSERVICE, SOAPDIR ) 
);
?>