function updateServerDb() { global $INTEROP_LOCAL_SERVER; if (!$this->connectDB()) { return false; } $this->retreiveServiceList(); $c = count($this->services); for ($i = 0; $i < $c; $i++) { $this->retreiveServerList($this->services[$i]->id); echo "Updating Servers for {$this->services[$i]->name}\n"; if (!$this->servers) { continue; } foreach ($this->servers as $server) { $this->_updateOrAddServer($this->services[$i]->id, $server); } // add the local server now if ($INTEROP_LOCAL_SERVER) { $server = getLocalInteropServer($this->services[$i]->name, $this->services[$i]->id); if ($server) { $this->_updateOrAddServer($this->services[$i]->id, $server); } } } }
<?php require_once 'config.php'; require_once 'registrationAndNotification.php'; $tests = array('Round 2 Base', 'Round 2 Group B', 'Round 2 Group C', 'Round 3 Group D Compound 1', 'Round 3 Group D Compound 2', 'Round 3 Group D DocLit', 'Round 3 Group D DocLitParams', 'Round 3 Group D Import 1', 'Round 3 Group D Import 2', 'Round 3 Group D Import 3', 'Round 3 Group D RpcEnc'); // get our endpoint $baseurl = 'http://' . $_SERVER['SERVER_NAME'] . ':' . $_SERVER['SERVER_PORT'] . $interopConfig['basedir']; ?> <body> <h2 align='center'>PEAR SOAP Interop</h2> <p>Welcome to the PEAR SOAP Interop pages. These pages are set up for SOAP Builder interop tests.</p> <table width="90%" border="1" cellspacing="0" cellpadding="2" align="center"> <?php foreach ($tests as $test) { $ep = getLocalInteropServer($test, 0, $baseurl); echo "<tr><td>{$test}</td><td>\n"; echo "WSDL: <a href=\"{$ep->wsdlURL}\">{$ep->wsdlURL}</a><br>\n"; echo "Endpoint: {$ep->endpointURL}<br>\n"; echo "</td></tr>\n"; } ?> </table> <h3>Interop Client</h3> <p> Notes: Tests are done both "Direct" and with "WSDL". WSDL tests use the supplied interop WSDL to run the tests against. The Direct method uses an internal prebuilt list of methods and parameters for the test.</p> <p>