#46203 [Opn->Fbk]: Error Fetching HTTP header
| From: | jani@php.net | Date: | Tue, 28 Apr 2009 18:47:04 +0000 |
| Subject: | #46203 [Opn->Fbk]: Error Fetching HTTP header | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-136474@lists.php.net to get a copy of this message | ||
ID: 46203
Updated by: jani@php.net
Reported By: kk86bioinfo at gmail dot com
-Status: Open
+Status: Feedback
Bug Type: SOAP related
Operating System: Vista
PHP Version: 5.2.6
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows:
http://windows.php.net/snapshots/
Previous Comments:
------------------------------------------------------------------------
[2008-09-30 17:02:15] kk86bioinfo at gmail dot com
Description:
------------
I have an error "Error Fetching HTTP header..." when trying to use
webservices from Interpro (WSInterproScan). My script run well before.
Reproduce code:
---------------
# URL for the service WSDL
$wsdlUrl=
'http://www.ebi.ac.uk/Tools/webservices/wsdl/WSInterProScan.wsdl';
# Get the object from the WSDL
$proxy = new SoapClient($wsdlUrl, array("user_agent"=>"eudbase"));
$params = array();
$params['email'] = 'kk86bioinfo@gmail.com';
$params['seqtype'] = 'P';
$data = array();
$data[0]['type'] = 'sequence';
$data[0]['content'] =
">cn1\nMWCAMGQVFEELSKESEAIRCYERARDCDEDEDSIALAKLAEGYEKMAREAAKDGRQ";
$jobId = $proxy->runInterProScan($params, $data);
echo "$jobId\n";
Expected result:
----------------
I should received the job submission ID for the service.
Actual result:
--------------
1AA0ED3D70F28F23 (generated randomly from the service)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=46203&edit=1