Authentication_Parameters = $authentication; $request->OrderCreatorEmail = 'mricois@scores-decisions.com'; $request->CompanyProductIdentifier = $CompanyProductIdentifier; $request->PartnerData = ''; $firephp->log($request,'requete'); try { $placeOrderResult = $graydon->placeOrder($request); $firephp->log($placeOrderResult,'placeOrder'); }catch( SoapFault $fault ){ require_once 'soaperror.php'; processSoapFault($client,$fault,$tabInfo); } //On vérifie l'état de le demande if (isset($placeOrderResult) && $placeOrderResult->OrderStatus->OrderState == 'Completed'){ //getCompanyReport $request = new StdClass(); $request->Authentication_Parameters = $authentication; $request->LanguageCode = 'E'; //Spécifier la langue du rapport $request->OrderReference = $placeOrderResult->OrderStatus->OrderReference; $request->MimeType = 'xml'; $firephp->log($request,'requete'); try { $reportResult = $graydon->getCompanyReport($request); $firephp->log($reportResult,'reportResult'); $xml = $reportResult->ReportXML; //Enregistrement du fichier xml $xml = $reportResult->ReportXML->any; file_put_contents($path.'/'.$fileName, $xml); }catch( SoapFault $fault ){ require_once 'soaperror.php'; processSoapFault($client,$fault,$tabInfo); die(); } } //On prend les données du fichier }else{ $firephp->log('Data depuis fichier XML'); $xml = file_get_contents($path.'/'.$fileName); } //========= Affichage des informations ========= if(isset($xml) && $xml!=''){ $tabReport = array(); require_once 'graydon/functions2.php'; require_once 'graydon/format.php'; //Création du DOM $doc = new DOMDocument; $doc->preserveWhiteSpace = false; $doc->loadxml($xml); $xpath = new DOMXPath($doc); $tabReport = parseReportXML($xml); $firephp->log($tabReport, 'tabReport'); function utf8decode_deep($value) { $value = is_array($value) ? array_map('utf8decode_deep', $value) : cleanutf8($value); return $value; } ?>

IDENTITÉ INTERNATIONALE DE L'ENTREPRISE

Raison sociale et coordonnées :

Activité(s) et chiffre d'affaire de l'entreprise :

Résumé financier :

Credit :

  Aucune information disponible.