Issue #0001653:
This commit is contained in:
parent
be5f09bc51
commit
9399f19ada
@ -39,7 +39,6 @@ class Application_Model_Worldcheck extends Zend_Db_Table_Abstract
|
||||
);
|
||||
$sql = $this->insert($params);
|
||||
}
|
||||
Zend_Registry::get('firebug')->info($result);
|
||||
return $result;
|
||||
}
|
||||
|
||||
|
@ -9,7 +9,6 @@ class WsWorldCheck
|
||||
public function __construct()
|
||||
{
|
||||
$c = Zend_Registry::get('config');
|
||||
Zend_Registry::get('firebug')->info($c);
|
||||
$location = ($c->profil->webservice->location == 'production') ? 'production' : 'pilot';
|
||||
$cWC = new Zend_Config_Ini(APPLICATION_PATH . '/../library/WorldCheck/webservicesWC.ini', $location);
|
||||
$config = $cWC->toArray();
|
||||
@ -18,7 +17,6 @@ class WsWorldCheck
|
||||
$configWC = new Zend_Config_Ini(APPLICATION_PATH . '/../library/WorldCheck/applicationWC.ini');
|
||||
$data = $configWC->toArray();
|
||||
$this->wcData = $data['wsworldcheck'];
|
||||
Zend_Registry::get('firebug')->info($this->wcData);
|
||||
}
|
||||
|
||||
/**
|
||||
@ -51,7 +49,6 @@ class WsWorldCheck
|
||||
} catch (Exception $e) {
|
||||
throw new Exception('Application Error');
|
||||
}
|
||||
Zend_Registry::get('firebug')->info($client);
|
||||
return $client;
|
||||
}
|
||||
|
||||
@ -69,7 +66,6 @@ class WsWorldCheck
|
||||
|
||||
$headerVar = new SoapVar($headerPart, XSD_ANYXML);
|
||||
$header = new SoapHeader($this->wcData['namespace'], $this->wcData['securityType'], $headerVar, true);
|
||||
Zend_Registry::get('firebug')->info($header);
|
||||
return $header;
|
||||
}
|
||||
|
||||
@ -92,9 +88,8 @@ class WsWorldCheck
|
||||
$client = $this->loadClientWC('screener');
|
||||
try {
|
||||
$response = $client->screen($params);
|
||||
Zend_Registry::get('firebug')->info($response);
|
||||
echo $client->__getLastRequest();
|
||||
echo $client->__getLastResponse();
|
||||
//echo $client->__getLastRequest();
|
||||
//echo $client->__getLastResponse();
|
||||
return $response->return;
|
||||
} catch (SoapFault $fault) {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user