From: nd_ngoka at xyratex dot com Operating system: Mandrake 10.1 PHP version: 5.1.2 PHP Bug Type: SOAP related Bug description: Error Fetching http headers
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 bug report at http://bugs.php.net/?id=36394&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=36394&r=trysnapshot44 Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=36394&r=trysnapshot51 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=36394&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=36394&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=36394&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=36394&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=36394&r=needscript Try newer version: http://bugs.php.net/fix.php?id=36394&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=36394&r=support Expected behavior: http://bugs.php.net/fix.php?id=36394&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=36394&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=36394&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=36394&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=36394&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=36394&r=dst IIS Stability: http://bugs.php.net/fix.php?id=36394&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=36394&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=36394&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=36394&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=36394&r=mysqlcfg