The URI below http://baseline-test.deepwebaccess.com/strata_baseline-test/services/searchService.wsdl
is obviously incorrect; can you tell me what it should be for xsearch.stanford.edu
? I've tried a few combinations e.g. http://xsearch.stanford.edu/strata_xsearch/services/searchService.wsdl
, http://xsearch.stanford.edu/xsearch/services/searchService.wsdl
with no luck.
<pre>
<?php
try {
$sClient = new SoapClient('http://baseline-test.deepwebaccess.com/strata_baseline-test/services/searchService.wsdl');
$params = "genome";
$response = $sClient->search($params);
var_dump($response);
}
catch(SoapFault $e) {
var_dump($e);
}
?>
</pre>
Gives the following error:
object(SoapFault)#2 (9) {
["message":protected]=>
string(25) "Could not connect to host"
["string":"Exception":private]=>
string(0) ""
["code":protected]=>
int(0)
["file":protected]=>
string(51) "/Users/lreilly/projects/one-off/dwt/index.php"
["line":protected]=>
int(7)
["trace":"Exception":private]=>
array(3) {
[0]=>
array(4) {
["function"]=>
string(11) "__doRequest"
["class"]=>
string(10) "SoapClient"
["type"]=>
string(2) "->"
["args"]=>
array(5) {
[0]=>
string(242) "
"
[1]=>
string(65) "http://localhost:8080/strata_baseline-test/services/searchService"
[2]=>
string(0) ""
[3]=>
int(1)
[4]=>
int(0)
}
}
[1]=>
array(4) {
["function"]=>
string(6) "__call"
["class"]=>
string(10) "SoapClient"
["type"]=>
string(2) "->"
["args"]=>
array(2) {
[0]=>
string(6) "search"
[1]=>
array(1) {
[0]=>
string(6) "genome"
}
}
}
[2]=>
array(6) {
["file"]=>
string(51) "/Users/lreilly/projects/one-off/dwt/index.php"
["line"]=>
int(7)
["function"]=>
string(6) "search"
["class"]=>
string(10) "SoapClient"
["type"]=>
string(2) "->"
["args"]=>
array(1) {
[0]=>
string(6) "genome"
}
}
}
["previous":"Exception":private]=>
NULL
["faultstring"]=>
string(25) "Could not connect to host"
["faultcode"]=>
string(4) "HTTP"
}