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