/usr/share/php/tools/genproxy.php is in php-soap 0.13.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | <?php
error_reporting(E_ALL);
require_once 'SOAP/WSDL.php';
/**
* genproxy
*
* a command line tool for generating SOAP proxies from WSDL files
*
* genproxy.php http://site/foo.wsdl > foo.php
*
*/
function do_wsdl($uri) {
$wsdl = new SOAP_WSDL($uri);
print $wsdl->generateAllProxies();
}
echo "<?php\n\nrequire_once 'SOAP/Client.php';\n\n";
do_wsdl($_SERVER['argv'][1]);
echo "\n?>";
?>
|