| Revision 21318,
403 bytes
checked in by kotani, 15 years ago
(diff) |
|
#1521 (PEAR::SOAP 配布と異なる部分がある)
- 新しいバージョンの配布ファイルを上書きすることで解決
#1522 (PEAR::SOAP をバージョンアップ)
|
-
Property svn:mime-type set to
text/x-httpd-php; charset=UTF-8
|
| Line | |
|---|
| 1 | <?php |
|---|
| 2 | error_reporting(E_ALL); |
|---|
| 3 | require_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 | |
|---|
| 14 | function do_wsdl($uri) { |
|---|
| 15 | $wsdl =& new SOAP_WSDL($uri); |
|---|
| 16 | print $wsdl->generateAllProxies(); |
|---|
| 17 | } |
|---|
| 18 | echo "<?php\n\nrequire_once 'SOAP/Client.php';\n\n"; |
|---|
| 19 | do_wsdl($_SERVER['argv'][1]); |
|---|
| 20 | echo "\n?>"; |
|---|
| 21 | ?> |
|---|
Note: See
TracBrowser
for help on using the repository browser.