#36394 [Opn->Fbk]: Error Fetching http headers
| From: | tony2001@php.net | Date: | Tue, 14 Feb 2006 20:48:17 +0000 |
| Subject: | #36394 [Opn->Fbk]: Error Fetching http headers | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-93263@lists.php.net to get a copy of this message | ||
ID: 36394
Updated by: tony2001@php.net
Reported By: nd_ngoka at xyratex dot com
-Status: Open
+Status: Feedback
Bug Type: SOAP related
Operating System: Mandrake 10.1
PHP Version: 5.1.2
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php5.1-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5.1-win32-latest.zip
Previous Comments:
------------------------------------------------------------------------
[2006-02-14 21:34:41] nd_ngoka at xyratex dot com
Description:
------------
I installed php5-soap-5.0.2-1mdk, apache and php5 unto my mandrake 10.1
box. I intend to use the soap feature to communicate with another soap
server, in other to receive a licence key.
When I execute the php script that communicates with the soap server, I
get the following error code :
faultcode : HTTP
fault string : Error Fetching http headers
I am not able to make sense of this error code, as it doesn't indicate
if the problem is from the server side or client side.
Your help will be grately apprieciated.
Reproduce code:
---------------
$location= "https://??????soapRegistrationServer.php";
$soap_uri = "http://?????????soapRegistrationServer";
$params = array('local_cert' => "?????.key",
'location' => $location,
'uri' => $soap_uri,
'exceptions' => 0);
$client = new SoapClient(null,$params);
$fkparams = array('user' => "username",
'password' => "paswword");
$newkey = $client->__soapCall('get_key', $fkparams);
if (is_soap_fault($newkey)) {
echo "SOAP Fault: (faultcode: ".$newkey->faultcode.", faultstring:
".$newkey->faultstring."\n";
}
echo $newkey."\n";
?>
Expected result:
----------------
The script is might to return a key
Actual result:
--------------
faultcode : HTTP
fault string : Error Fetching http headers
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=36394&edit=1