1<?php
2// +----------------------------------------------------------------------+
3// | PHP Version 4                                                        |
4// +----------------------------------------------------------------------+
5// | Copyright (c) 1997-2018 The PHP Group                                |
6// +----------------------------------------------------------------------+
7// | This source file is subject to version 2.02 of the PHP license,      |
8// | that is bundled with this package in the file LICENSE, and is        |
9// | available through the world-wide-web at                              |
10// | http://www.php.net/license/2_02.txt.                                 |
11// | If you did not receive a copy of the PHP license and are unable to   |
12// | obtain it through the world-wide-web, please send a note to          |
13// | license@php.net so we can mail you a copy immediately.               |
14// +----------------------------------------------------------------------+
15// | Authors: Shane Caraveo <Shane@Caraveo.com>                           |
16// +----------------------------------------------------------------------+
17
18set_time_limit(0);
19require_once 'client_round2_interop.php';
20
21$iop = new Interop_Client();
22$iop->html = 0;
23
24// force a fetch of endpoints, this happens regardless if no endpoints in database
25$iop->fetchEndpoints();
26
27// set some options
28$iop->currentTest = 'GroupC'; // see $tests above
29$iop->paramType = 'php';      // 'php' or 'soapval'
30$iop->useWSDL = 1;            // 1= do wsdl tests
31$iop->numServers = 0;         // 0 = all
32//$iop->specificEndpoint = 'PHP ext/soap'; // test only this endpoint
33//$iop->testMethod = 'echoString';         // test only this method
34
35// endpoints to skip
36//$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');
37$iop->startAt='';
38$iop->nosave = 0; // 1= disable saving results to database
39// debug output
40$iop->show = 1;
41$iop->debug = 0;
42$iop->showFaults = 0; // used in result table output
43
44$iop->doTest();  // run a single set of tests using above options
45#$iop->doGroupTests(); // run a group of tests set in $currentTest
46#$iop->doTests();  // run all tests, ignore above options
47#$iop->outputTables();
48echo "done\n";
49
50?>
51