FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


Error Fetching HTTP header





kk86bioinfo
Hello there, I am try to use a web service using SOAP but I get the following error...

Fatal error: Uncaught SoapFault exception: [HTTP] Error Fetching http headers in C:\wamp\www\EuDBase\Data Analysis\wsinterproscan.php:42 Stack trace: #0 [internal function]: SoapClient->__doRequest('<?xml version="...', 'http://www.ebi....', 'http://www.ebi....', 1, 0) #1 [internal function]: SoapClient->__call('runInterProScan', Array) #2 C:\wamp\www\EuDBase\Data Analysis\wsinterproscan.php(42): SoapClient->runInterProScan(Array, Array) #3 {main} thrown in C:\wamp\www\EuDBase\Data Analysis\wsinterproscan.php on line 42

My code is as below,
Code:

   $wsdlUrl = 'http://www.ebi.ac.uk/Tools/webservices/wsdl/WSInterProScan.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'] = $query_seq;
   
   $jobId = $proxy->runInterProScan($params, $data);

   echo "$jobId\n";
   
   do{
      $status= $proxy->checkStatus($jobId);
      sleep(5);
   } while($status != "DONE" || is_soap_fault($status));

   $result_type= $proxy->getResults($jobId);
   
   $result=$proxy->poll($jobId, "toolraw");

?>


Please let me know where is the problem in my coding. Thanks.
Related topics
HELP: setcookie() and header problems
phpBB2 Avatar Error
PHP what is it actually?
PHP header command
Php parsing error! Need help
Need help with an error
Some times, the error is so hard to find and so funny
How To Use the Header() function
Header redirect problem
PHP Parse error on form handling - New to PHP
dual boot
Error trying to display SQL statement in html table
SQL ERROR [ mysql4 ] - due to hosting? -
PHP SOAP error
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.