source: branches/version-2_5-dev/data/module/SOAP/tools/genproxy.php @ 20116

Revision 20116, 424 bytes checked in by nanasess, 13 years ago (diff)
  • svn properties を再設定
  • 再設定用のスクリプト追加
  • Property svn:keywords set to Id
  • Property svn:mime-type set to text/x-httpd-php; charset=UTF-8
Line 
1<?php
2error_reporting(E_ALL);
3require_once 'SOAP/WSDL.php';
4
5/**
6 * genproxy
7 *
8 * a command line tool for generating SOAP proxies from WSDL files
9 *
10 * genproxy.php http://site/foo.wsdl > foo.php
11 *
12 */
13
14function do_wsdl($uri) {
15    $wsdl =& new SOAP_WSDL($uri);
16    print $wsdl->generateAllProxies();
17}
18echo "<?php\n\nrequire_once 'SOAP/Client.php';\n\n";
19do_wsdl($_SERVER['argv'][1]);
20echo "\n?>";
21?>
Note: See TracBrowser for help on using the repository browser.