Back to index

php5  5.3.10
client_round2_results.php
Go to the documentation of this file.
00001 <?php
00002 // NOTE: do not run this directly under a web server, as it will take a very long
00003 // time to execute.  Run from a command line or something, and redirect output
00004 // to an html file.
00005 //
00006 // +----------------------------------------------------------------------+
00007 // | PHP Version 4                                                        |
00008 // +----------------------------------------------------------------------+
00009 // | Copyright (c) 1997-2003 The PHP Group                                |
00010 // +----------------------------------------------------------------------+
00011 // | This source file is subject to version 2.02 of the PHP license,      |
00012 // | that is bundled with this package in the file LICENSE, and is        |
00013 // | available through the world-wide-web at                              |
00014 // | http://www.php.net/license/2_02.txt.                                 |
00015 // | If you did not receive a copy of the PHP license and are unable to   |
00016 // | obtain it through the world-wide-web, please send a note to          |
00017 // | license@php.net so we can mail you a copy immediately.               |
00018 // +----------------------------------------------------------------------+
00019 // | Authors: Shane Caraveo <Shane@Caraveo.com>                           |
00020 // +----------------------------------------------------------------------+
00021 //
00022 // $Id: client_round2_results.php 242949 2007-09-26 15:44:16Z cvs2svn $
00023 //
00024 require_once 'client_round2_interop.php';
00025 ?>
00026 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
00027 
00028 <html>
00029 <head>
00030 <style>
00031 TD { background-color: Red; }
00032 TD.BLANK { background-color: White; }
00033 TD.OK { background-color: Lime; }
00034 TD.RESULT { background-color: Green; }
00035 TD.untested { background-color: White; }
00036 TD.CONNECT { background-color: Yellow; }
00037 TD.TRANSPORT { background-color: Yellow; }
00038 TD.WSDL { background-color: Yellow; }
00039 TD.WSDLCACHE { background-color: Yellow; }
00040 TD.WSDLPARSER { background-color: Yellow; }
00041 TD.HTTP { background-color: Yellow; }
00042 TD.SMTP { background-color: Yellow; }
00043 </style>
00044   <title>PHP SOAP Client Interop Test Results</title>
00045 </head>
00046 
00047 <body bgcolor="White" text="Black">
00048 <h2 align="center">PHP SOAP Client Interop Test Results: Round2</h2>
00049 
00050 <a href="index.php">Back to Interop Index</a><br>
00051 <p>&nbsp;</p>
00052 
00053 <?php
00054 $iop = new Interop_Client();
00055 
00056 if ($_GET['detail'] == 1) $iop->showFaults = 1;
00057 
00058 if ($_GET['wire']) {
00059     $iop->showWire($_GET['wire']);
00060 } else {
00061     $iop->getEndpoints();
00062     $iop->getResults();
00063 
00064     if ($_GET['test']) {
00065         $iop->currentTest = $_GET['test'];
00066         $iop->useWSDL = $_GET['wsdl']?$_GET['wsdl']:0;
00067         $iop->paramType = $_GET['type']?$_GET['type']:'php';
00068         $iop->outputTable();
00069     } else {
00070         $iop->outputTables();
00071     }
00072 }
00073 ?>
00074 </body>
00075 </html>