besimple/wsdl2php

There is no license information available for the latest version (v1.0.1) of this package.

BeSimple WSDL 2 PHP library

v1.0.1 2016-12-14 19:34 UTC

This package is not auto-updated.

Last update: 2020-01-10 15:10:41 UTC


README

wsdl2php - takes a WSDL document and generates PHP code from which to implement a service. The WSDL document must have a valid portType element, but it does not need to contain a binding element or a service element. It is always assumed the given doc-lit WSDLs "unwrap" nicely

Using the optional arguments you can customize the generated code.

Installation

If you do not yet have composer, install it like this:

curl -s http://getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin

Create a composer.json file:

{
    "require": {
        "besimple/wsdl2php": "dev-master"
    }
}

Now you are ready to install the library:

php /usr/local/bin/composer.phar install

Run

php bin/wsdl2php.php -w"myservice.wsdl"