client_round2_results.php 2.6 KB

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