RECHERCHE INTERNATIONALE

select('code') ->from('Country') ->where('graydon_country = ?', $pays); $result = $q->fetchOne(); $paysCode = $result->code; $_SESSION['graydon']['mode'] = 'demo'; $_SESSION['graydon']['paysCode'] = $paysCode; $_SESSION['graydon']['pays'] = $pays; ?>
Résultat de la recherche de démonstration : Authentication_Parameters = $authentication; $request->Country = $pays; try { // Make a request on the web service $result = $graydon->getDemoCompanies($request); //Enregistrement de l'action dans les logs $transactionIdentifier = $result->Service_Log->TransactionIdentifier; $sessionID = $result->Service_Log->SessionID; graydonRequeteLog($_SESSION['tabInfo']['login'], $page, 'getDemoCompanies', $transactionIdentifier, $sessionID, $manager); //Log de la requete dans la bdd setDbConn('graydon'); $log = new Requetelog(); $log->login = $_SESSION['tabInfo']['login']; $log->action = 'getDemoCompanies'; $log->request = serialize($request); $log->transactionIdentifier = $transactionIdentifier; $log->sessionID = $sessionID; $log->mode = 'demo'; $log->save(); //Get the list of companies $demoCompaniesCountry = $result->DemoCompanies->CountryAndCompany; ?>
Pays : Country; ?>
    Companies->Company); if ($count>1){ $demoCompanies = $demoCompaniesCountry->Companies->Company; }elseif($count==1){ $demoCompanies[] = $demoCompaniesCountry->Companies->Company; } $firephp->log($demoCompanies,'demoCompanies'); $counterCompany = 1; foreach($demoCompanies as $company){ ?>
  1. Name); ?>
    Adresse : RegisteredAddress->EntireAddress); ?>

detail->GraydonCompanyData_Fault->FaultReturnCode; $text = $fault->detail->GraydonCompanyData_Fault->FaultMessage; $firephp->log($text,'texterror'); require_once 'graydon/graydon_error.php'; if(graydon_error($code, $text)==FALSE){ graydon_processSoapFault($graydon,$fault,$tabInfo); } } //*********** Mode normal }elseif($_REQUEST['mode']=='normal'){ $paysCode = $_REQUEST['frmRecherche']['CountryCode']; //Lire le libélé du pays graydon en fonction du code setDbConn('graydon'); $q = Doctrine_Query::Create() ->select('graydon_country') ->from('Country') ->where('code = ?', $paysCode); $result = $q->fetchOne(); $pays = $result->graydon_country; $firephp->log($pays,'pays'); $_SESSION['graydon']['pays'] = $pays; $_SESSION['graydon']['paysCode'] = $paysCode; $_SESSION['graydon']['mode'] = 'normal'; ?>
Résultat de la recherche : Authentication_Parameters = $authentication; // Create a new country parameters object $company = new StdClass(); // Initialise the country object $company->Country = $pays; $company->ClientReference = ''; $request->Authentication_Parameters = $authentication; $request->CompanyMatches_Parameters = $company; if($_REQUEST['method'] == 'keyword'){ $request->Keyword = $_REQUEST['frmRecherche']['Keywords']; $request->City = isset($_REQUEST['frmRecherche']['City']) ? $_REQUEST['frmRecherche']['City'] : '' ; $request->PostCode = isset($_REQUEST['frmRecherche']['PostCode']) ? $_REQUEST['frmRecherche']['PostCode'] : '' ; }elseif($_REQUEST['method'] == 'identifier'){ $request->Identifier = $_REQUEST['frmRecherche']['Identifier']; }elseif($_REQUEST['method'] == 'name'){ $request->Name = $_REQUEST['frmRecherche']['Name']; $request->City = isset($_REQUEST['frmRecherche']['City']) ? $_REQUEST['frmRecherche']['City'] : '' ; $request->PostCode = isset($_REQUEST['frmRecherche']['PostCode']) ? $_REQUEST['frmRecherche']['PostCode'] : '' ; }elseif($_REQUEST['method'] == 'postcode'){ $request->PostCode = isset($_REQUEST['frmRecherche']['PostCode']) ? $_REQUEST['frmRecherche']['PostCode'] : '' ; } $firephp->log($request,'requete'); try { // Make a request on the webservice if($_REQUEST['method'] == 'keyword'){ $result = $graydon->getCompanyMatchesByKeyword($request); //Enregistrement de l'action dans les logs $transactionIdentifier = $result->Service_Log->TransactionIdentifier; $sessionID = $result->Service_Log->SessionID; graydonRequeteLog($_SESSION['tabInfo']['login'], $page, 'getCompanyMatchesByKeyword', $transactionIdentifier, $sessionID); //Log de la requete dans la bdd setDbConn('graydon'); $log = new Requetelog(); $log->login = $_SESSION['tabInfo']['login']; $log->action = 'getCompanyMatchesByKeyword'; $log->request = serialize($request); $log->transactionIdentifier = $transactionIdentifier; $log->sessionID = $sessionID; $log->mode = 'normal'; $log->save(); }elseif($_REQUEST['method'] == 'identifier'){ $result = $graydon->getCompanyMatchesByIdentifier($request); //Enregistrement de l'action dans les logs $transactionIdentifier = $result->Service_Log->TransactionIdentifier; $sessionID = $result->Service_Log->SessionID; graydonRequeteLog($_SESSION['tabInfo']['login'], $page, 'getCompanyMatchesByIdentifier', $transactionIdentifier, $sessionID); //Log de la requete dans la bdd setDbConn('graydon'); $log = new Requetelog(); $log->login = $_SESSION['tabInfo']['login']; $log->action = 'getCompanyMatchByIdentifier'; $log->request = serialize($request); $log->transactionIdentifier = $transactionIdentifier; $log->sessionID = $sessionID; $log->mode = 'normal'; $log->save(); }elseif($_REQUEST['method'] == 'name'){ $result = $graydon->getCompanyMatchesByName($request); //Enregistrement de l'action dans les logs $transactionIdentifier = $result->Service_Log->TransactionIdentifier; $sessionID = $result->Service_Log->SessionID; graydonRequeteLog($_SESSION['tabInfo']['login'], $page, 'getCompanyMatchesByName', $transactionIdentifier, $sessionID); //Log de la requete dans la bdd setDbConn('graydon'); $log = new Requetelog(); $log->login = $_SESSION['tabInfo']['login']; $log->action = 'getCompanyMatchesByName'; $log->request = serialize($request); $log->transactionIdentifier = $transactionIdentifier; $log->sessionID = $sessionID; $log->mode = 'normal'; $log->save(); }elseif($_REQUEST['method'] == 'postcode'){ $result = $graydon->getCompanyMatchesByPostCode($request); //Enregistrement de l'action dans les logs $transactionIdentifier = $result->Service_Log->TransactionIdentifier; $sessionID = $result->Service_Log->SessionID; graydonRequeteLog($_SESSION['tabInfo']['login'], $page, 'getCompanyMatchesByPostCode', $transactionIdentifier, $sessionID); //Log de la requete dans la bdd setDbConn('graydon'); $log = new Requetelog(); $log->login = $_SESSION['tabInfo']['login']; $log->action = 'getCompanyMatchesByPostCode'; $log->request = serialize($request); $log->transactionIdentifier = $transactionIdentifier; $log->sessionID = $sessionID; $log->mode = 'normal'; $log->save(); } $_SESSION['graydon']['SessionID'] = $result->Service_Log->SessionID; $_SESSION['graydon']['TransactionIdentifier'] = $result->Service_Log->TransactionIdentifier; ?>
Pays : Service_Log->Country; ?>
    CompanyMatches->Company); if ($count>1){ $companies = $result->CompanyMatches->Company; }elseif($count==1){ $companies[] = $result->CompanyMatches->Company; } $firephp->log($companies,'companies'); $counterCompany = 1; foreach($companies as $company){ ?>
  1. Name); ?>
    Addresse : RegisteredAddress->EntireAddress); ?>

Si aucun résultat ne correspond à votre recherche.

Cliquez-ici pour essayer à nouveau avec des informations différentes.

detail->GraydonCompanyData_Fault->FaultReturnCode; $text = $fault->detail->GraydonCompanyData_Fault->FaultMessage; $firephp->log($text,'texterror'); require_once 'graydon/graydon_error.php'; $error = graydon_error($code, $text); if($error==FALSE){ graydon_processSoapFault($graydon,$fault,$tabInfo); }elseif($error['Code'] == 'CWS5000'){ ?>

Aucun résultat n'a été trouvé. Cliquez-ici pour retourner au formulaire de recherche.