PHP code example of mlebkowski / wsdl-generator
1. Go to this page and download the library: Download mlebkowski/wsdl-generator library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
mlebkowski / wsdl-generator example snippets
$wsdl = '...';
$generator = new \Nassau\WsdlGenerator\WSDLGenerator();
$options = new \Nassau\WsdlGenerator\GeneratorOptions;
$options->setNamespace('\\Acme\\WebService');
$options->setTargetDir(__DIR__ . "/src");
$generator->generate($wsdl, $options);