|
From: Christoph H. <Chr...@st...> - 2005-10-05 14:38:14
|
Hi Gnemmi,
I think, that this error can also occure due to others reason.
For example, I receive this error when the Web Service method needs to long.
Could that be a reason in your case?
And, does someone know, if I can extend this time until the read of headers
times out? (it doesnt function with the php function @set-time-limit)
Bye! Christoph Hanser
================================
From: ludovic gnemmi <l_gnemmi@ya...>
Problem if no values are found
2005-09-27 05:37
Hi list,
I'm having problem with a the results of a server. The
server is supposed to return Null if no values are
found.
but in my case i receive an error:
HTTP Error: socket read of headers timed out
Has anybody got an idea?
Thanks a lot for your help.
Ludovic
=======================================
Here is my code with the adress of the server.
========================================
include('./lib/nusoap.php');
$wsdl =
"http://www.zeesource.net/maps/services/Geocode?wsdl";
$client = new soapclient($wsdl, 'wsdl');
$params = array(
'city' => 'Cambridgeee',
'state' => 'Cambridgeshire',
'country' => 'United Kingdom'
);
$result=$client->call('getCoordinates', $params);
// Check for a fault
if ($client->fault) {
echo '<h2>Fault</h2>';
print_r($result);
echo '';
} else {
// Check for errors
$err = $client->getError();
if ($err) {
// Display the error
echo '<h2>Error</h2>' . $err . '';
} else {
// Display the result
echo '<h2>Result</h2>';
else print_r($result);
echo '';
}
}
|