From aryx, 2 Years ago, written in Plain Text.
Embed
  1. <!DOCTYPE HTML>
  2. <html>
  3.    
  4.   <?php
  5.   $client = new SoapClient('http://localhost/feladat2/hallgatok.wsdl');
  6.  
  7.   echo "<pre>";
  8.   print_r($client->ujHallgato("Nagy Elek", "NJE004", "Gépész"));
  9.   echo "</pre>";
  10.  
  11.   echo "<br>";
  12.  
  13.   echo "<pre>";
  14.   print_r($client->ujHallgato("Kiss Elek", "NJE004", "Jármű"));
  15.   echo "</pre>";
  16.  
  17.   echo "<br>";
  18.  
  19.   echo "<pre>";
  20.   print_r($client->hallgatokLista());
  21.   echo "</pre>";
  22.  
  23.  
  24.   ?>  
  25.  
  26.   <body>
  27.   </body>
  28. </html>