Skip to content

Instantly share code, notes, and snippets.

@kasperg
Created October 29, 2013 08:24
Show Gist options
  • Save kasperg/7210845 to your computer and use it in GitHub Desktop.
Save kasperg/7210845 to your computer and use it in GitHub Desktop.
{
"name": "wsdl2phpgenerator/wsdl2phpgenerator-test",
"description": "Composer test for Wsdl2PhpGenerator",
"minimum-stability": "stable",
"authors": [
{
"name": "Kasper Garnæs",
"email": "kasper.garnaes@gmail.com"
}
],
"require": {
"wsdl2phpgenerator/wsdl2phpgenerator": "dev-master"
}
}
<?php
require_once __DIR__ .'/vendor/autoload.php';
$generator = \Wsdl2PhpGenerator\Generator::getInstance();
$config = new \Wsdl2PhpGenerator\Config('http://www.webservicex.net/CurrencyConvertor.asmx?WSDL', __DIR__ . '/test');
$generator->generate($config);
@chriskl
Copy link

chriskl commented Oct 30, 2013

Try executing vendor/bin/wsdl2php - that's what I tried

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment