SOAP
[ class tree: SOAP ] [ index: SOAP ] [ all elements ]

Source for file genproxy.php

Documentation is available at genproxy.php

  1. <?php
  2. require_once 'SOAP/WSDL.php';
  3.  
  4. /**
  5.  * genproxy
  6.  *
  7.  * a command line tool for generating SOAP proxies from WSDL files
  8.  *
  9.  * genproxy.php http://site/foo.wsdl > foo.php
  10.  *
  11.  */
  12.  
  13. function do_wsdl($uri{
  14.     $wsdl = new SOAP_WSDL($uri);
  15.     print $wsdl->generateAllProxies();
  16. }
  17. echo "<?php\n\nrequire_once 'SOAP/Client.php';\n\n";
  18. do_wsdl($_SERVER['argv'][1]);
  19. echo "\n?>";
  20. ?>

Documentation generated on Mon, 11 Mar 2019 15:47:18 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.