Back to index

php5  5.3.10
client_round2_run.php
Go to the documentation of this file.
00001 <?php
00002 // +----------------------------------------------------------------------+
00003 // | PHP Version 4                                                        |
00004 // +----------------------------------------------------------------------+
00005 // | Copyright (c) 1997-2003 The PHP Group                                |
00006 // +----------------------------------------------------------------------+
00007 // | This source file is subject to version 2.02 of the PHP license,      |
00008 // | that is bundled with this package in the file LICENSE, and is        |
00009 // | available through the world-wide-web at                              |
00010 // | http://www.php.net/license/2_02.txt.                                 |
00011 // | If you did not receive a copy of the PHP license and are unable to   |
00012 // | obtain it through the world-wide-web, please send a note to          |
00013 // | license@php.net so we can mail you a copy immediately.               |
00014 // +----------------------------------------------------------------------+
00015 // | Authors: Shane Caraveo <Shane@Caraveo.com>                           |
00016 // +----------------------------------------------------------------------+
00017 //
00018 // $Id: client_round2_run.php 242949 2007-09-26 15:44:16Z cvs2svn $
00019 //
00020 
00021 set_time_limit(0);
00022 require_once 'client_round2_interop.php';
00023 
00024 $iop = new Interop_Client();
00025 $iop->html = 0;
00026 
00027 // force a fetch of endpoints, this happens irregardless if no endpoints in database
00028 $iop->fetchEndpoints();
00029 
00030 // set some options
00031 $iop->currentTest = 'GroupC'; // see $tests above
00032 $iop->paramType = 'php';      // 'php' or 'soapval'
00033 $iop->useWSDL = 1;            // 1= do wsdl tests
00034 $iop->numServers = 0;         // 0 = all
00035 //$iop->specificEndpoint = 'PHP ext/soap'; // test only this endpoint
00036 //$iop->testMethod = 'echoString';         // test only this method
00037 
00038 // endpoints to skip
00039 //$iop->skipEndpointList = array('Apache Axis','IONA XMLBus','IONA XMLBus (CORBA)','MS SOAP ToolKit 2.0','MS SOAP ToolKit 3.0','Spheon JSOAP','SQLData SOAP Server','WASP Advanced 3.0');
00040 $iop->startAt='';
00041 $iop->nosave = 0; // 1= disable saving results to database
00042 // debug output
00043 $iop->show = 1;
00044 $iop->debug = 0;
00045 $iop->showFaults = 0; // used in result table output
00046 
00047 $iop->doTest();  // run a single set of tests using above options
00048 #$iop->doGroupTests(); // run a group of tests set in $currentTest
00049 #$iop->doTests();  // run all tests, ignore above options
00050 #$iop->outputTables();
00051 echo "done\n";
00052 
00053 ?>