index.php 3.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  2. <html>
  3. <head>
  4. <title>PHP SOAP Interop</title>
  5. </head>
  6. <?php
  7. // get our endpoint
  8. $server = $_SERVER['HTTP_HOST'].':'.$_SERVER['SERVER_PORT'];
  9. $base = (isset($_SERVER['HTTPS'])?"https://":"http://").$server.dirname($_SERVER['PHP_SELF'])."/interop.wsdl.php";
  10. $groupb = (isset($_SERVER['HTTPS'])?"https://":"http://").$server.dirname($_SERVER['PHP_SELF'])."/interopB.wsdl.php";
  11. $groupc = (isset($_SERVER['HTTPS'])?"https://":"http://").$server.dirname($_SERVER['PHP_SELF'])."/echoheadersvc.wsdl.php";
  12. ?>
  13. <body>
  14. <h2 align='center'>PHP SOAP Interop</h2>
  15. <p>Welcome to the PHP SOAP Interop pages. These pages are set up for
  16. SOAP Builder interop tests. You can find out more about the interop tests
  17. at <a href="http://www.whitemesa.com/interop.htm">White Mesa</a>.</p>
  18. <p>Currently Round 2 base, Group B and Group C interop tests are enabled.</p>
  19. <h3>Round 2 Interop Server</h3>
  20. Base WSDL: <a href="<?php echo $base ?>"><?php echo $base ?></a><br>
  21. Group B WSDL: <a href="<?php echo $groupb ?>"><?php echo $groupb ?></a><br>
  22. Group C WSDL: <a href="<?php echo $groupc ?>"><?php echo $groupc ?></a><br>
  23. <h3>Interop Client</h3>
  24. <p>Notes: Tests are done both "Direct" and with "WSDL". WSDL tests use the supplied interop WSDL
  25. to run the tests against. The Direct method uses an internal prebuilt list of methods and parameters
  26. for the test.</p>
  27. <p>Tests are also run against two methods of generating method parameters. The first, 'php', attempts
  28. to directly serialize PHP variables into soap values. The second method, 'soapval', uses a SoapParam and SoapVar
  29. classes to define what the type of the value is.</p>
  30. <h3>Client Test Interface</h3>
  31. <p>The <a href="client_round2.php">client interface</a> allows you to run the PHP SOAP
  32. Client against a chosen interop server. Each run updates the results database below.</p>
  33. <h3>Interop Client Test Results</h3>
  34. <p>This is a database of the current test results using PHP SOAP Clients against interop servers.</p>
  35. <p>More detail (wire) about errors (marked yellow or red) can be obtained by clicking on the
  36. link in the result box. If we have an HTTP error
  37. attempting to connect to the endpoint, we will mark all consecutive attempts as errors, and skip
  38. testing that endpoint. This reduces the time it takes to run the tests if a server is unavailable.</p>
  39. <ul>
  40. <li><a href="client_round2_results.php?test=base&type=php&wsdl=0">Base results using PHP native types</a></li>
  41. <li><a href="client_round2_results.php?test=base&type=soapval&wsdl=0">Base results using SOAP types</a></li>
  42. <li><a href="client_round2_results.php?test=base&type=php&wsdl=1">Base results using PHP native types with WSDL</a></li>
  43. <li><a href="client_round2_results.php?test=GroupB&type=php&wsdl=0">Group B results using PHP native types</a></li>
  44. <li><a href="client_round2_results.php?test=GroupB&type=soapval&wsdl=0">Group B results using SOAP types</a></li>
  45. <li><a href="client_round2_results.php?test=GroupB&type=php&wsdl=1">Group B results using PHP native types with WSDL</a></li>
  46. <li><a href="client_round2_results.php?test=GroupC&type=php&wsdl=0">Group C results using PHP native types</a></li>
  47. <li><a href="client_round2_results.php?test=GroupC&type=soapval&wsdl=0">Group C results using SOAP types</a></li>
  48. <li><a href="client_round2_results.php?test=GroupC&type=php&wsdl=1">Group C results using PHP native types with WSDL</a></li>
  49. <li><a href="client_round2_results.php">Show All Results</a></li>
  50. </ul>
  51. </body>
  52. </html>