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

Source for file interop_client_results.php

Documentation is available at interop_client_results.php

  1. <?php
  2. // NOTE: do not run this directly under a web server, as it will take a very long
  3. // time to execute.  Run from a command line or something, and redirect output
  4. // to an html file.
  5. //
  6. // +----------------------------------------------------------------------+
  7. // | PHP Version 4                                                        |
  8. // +----------------------------------------------------------------------+
  9. // | Copyright (c) 1997-2003 The PHP Group                                |
  10. // +----------------------------------------------------------------------+
  11. // | This source file is subject to version 2.02 of the PHP license,      |
  12. // | that is bundled with this package in the file LICENSE, and is        |
  13. // | available at through the world-wide-web at                           |
  14. // | http://www.php.net/license/2_02.txt.                                 |
  15. // | If you did not receive a copy of the PHP license and are unable to   |
  16. // | obtain it through the world-wide-web, please send a note to          |
  17. // | license@php.net so we can mail you a copy immediately.               |
  18. // +----------------------------------------------------------------------+
  19. // | Authors: Shane Caraveo <Shane@Caraveo.com>                           |
  20. // +----------------------------------------------------------------------+
  21. //
  22. // $Id: interop_client_results.php,v 1.3 2003/04/07 00:51:17 shane Exp $
  23. //
  24. require_once 'interop_client.php';
  25. ?>
  26. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  27.  
  28. <html>
  29. <head>
  30. <style>
  31. TD { background-color: Red; }
  32. TD.BLANK { background-color: White; }
  33. TD.OK { background-color: Lime; }
  34. TD.RESULT { background-color: Green; }
  35. TD.untested { background-color: White; }
  36. TD.CONNECT { background-color: Yellow; }
  37. TD.TRANSPORT { background-color: Yellow; }
  38. TD.WSDL { background-color: Yellow; }
  39. TD.WSDLCACHE { background-color: Yellow; }
  40. TD.WSDLPARSER { background-color: Yellow; }
  41. TD.HTTP { background-color: Yellow; }
  42. TD.SMTP { background-color: Yellow; }
  43. </style>
  44.     <title>PEAR-PHP SOAP Interop Tests</title>
  45. </head>
  46.  
  47. <body bgcolor="White" text="Black">
  48. <h2 align="center">SOAP Client Interop Test Results: Round2</h2>
  49.  
  50. <a href="index.php">Back to Interop Index</a><br>
  51. <p>&nbsp;</p>
  52.  
  53. <?php
  54. $iop =new Interop_Client();
  55.  
  56. if ($_GET['detail'== 1$iop->showFaults = 1;
  57.  
  58. if ($_GET['wire']{
  59.     $iop->showWire($_GET['wire']);
  60. else {
  61.     $iop->getEndpoints();
  62.     $iop->getResults();
  63.     
  64.     if ($_GET['test']{
  65.         $iop->currentTest = $_GET['test'];
  66.         $iop->useWSDL = $_GET['wsdl']?$_GET['wsdl']:0;
  67.         $iop->paramType = $_GET['type']?$_GET['type']:'php';
  68.         $iop->outputTable();
  69.     else {
  70.         $iop->outputTables();
  71.     }
  72. }
  73. ?>
  74. </body>
  75. </html>

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