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//
24require_once 'client_round2_interop.php';
25?>
26<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
27
28<html>
29<head>
30<style>
31TD { background-color: Red; }
32TD.BLANK { background-color: White; }
33TD.OK { background-color: Lime; }
34TD.RESULT { background-color: Green; }
35TD.untested { background-color: White; }
36TD.CONNECT { background-color: Yellow; }
37TD.TRANSPORT { background-color: Yellow; }
38TD.WSDL { background-color: Yellow; }
39TD.WSDLCACHE { background-color: Yellow; }
40TD.WSDLPARSER { background-color: Yellow; }
41TD.HTTP { background-color: Yellow; }
42TD.SMTP { background-color: Yellow; }
43</style>
44  <title>PHP SOAP Client Interop Test Results</title>
45</head>
46
47<body bgcolor="White" text="Black">
48<h2 align="center">PHP 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
56if ($_GET['detail'] == 1) $iop->showFaults = 1;
57
58if ($_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>
76