Ejemplo n.º 1
0
$iop = new Interop_Client();
$iop->html = 0;
// force a fetch of endpoints, this happens irregardless if no endpoints in database
$iop->fetchEndpoints();
// set some options
$iop->currentTest = 'GroupC';
// see $tests above
$iop->paramType = 'php';
// 'php' or 'soapval'
$iop->useWSDL = 1;
// 1= do wsdl tests
$iop->numServers = 0;
// 0 = all
//$iop->specificEndpoint = 'PHP ext/soap'; // test only this endpoint
//$iop->testMethod = 'echoString';         // test only this method
// endpoints to skip
//$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');
$iop->startAt = '';
$iop->nosave = 0;
// 1= disable saving results to database
// debug output
$iop->show = 1;
$iop->debug = 0;
$iop->showFaults = 0;
// used in result table output
$iop->doTest();
// run a single set of tests using above options
#$iop->doGroupTests(); // run a group of tests set in $currentTest
#$iop->doTests();  // run all tests, ignore above options
#$iop->outputTables();
echo "done\n";