client_round2_results.php 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  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 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$
  23. //
  24. require_once 'client_round2_interop.php';
  25. ?>
  26. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  27. <html>
  28. <head>
  29. <style>
  30. TD { background-color: Red; }
  31. TD.BLANK { background-color: White; }
  32. TD.OK { background-color: Lime; }
  33. TD.RESULT { background-color: Green; }
  34. TD.untested { background-color: White; }
  35. TD.CONNECT { background-color: Yellow; }
  36. TD.TRANSPORT { background-color: Yellow; }
  37. TD.WSDL { background-color: Yellow; }
  38. TD.WSDLCACHE { background-color: Yellow; }
  39. TD.WSDLPARSER { background-color: Yellow; }
  40. TD.HTTP { background-color: Yellow; }
  41. TD.SMTP { background-color: Yellow; }
  42. </style>
  43. <title>PHP SOAP Client Interop Test Results</title>
  44. </head>
  45. <body bgcolor="White" text="Black">
  46. <h2 align="center">PHP SOAP Client Interop Test Results: Round2</h2>
  47. <a href="index.php">Back to Interop Index</a><br>
  48. <p>&nbsp;</p>
  49. <?php
  50. $iop = new Interop_Client();
  51. if ($_GET['detail'] == 1) $iop->showFaults = 1;
  52. if ($_GET['wire']) {
  53. $iop->showWire($_GET['wire']);
  54. } else {
  55. $iop->getEndpoints();
  56. $iop->getResults();
  57. if ($_GET['test']) {
  58. $iop->currentTest = $_GET['test'];
  59. $iop->useWSDL = $_GET['wsdl']?$_GET['wsdl']:0;
  60. $iop->paramType = $_GET['type']?$_GET['type']:'php';
  61. $iop->outputTable();
  62. } else {
  63. $iop->outputTables();
  64. }
  65. }
  66. ?>
  67. </body>
  68. </html>