Get tld information

				
					StructDomainTldInfo domainTldInfo(string idSession, string tld)
				
			

Return all information for a given extension / tld.

REQUIRED


  • idSession string (32)
    Session ID.
  • tld string (255)
    Extension (without leading dot).

    Example: uk / co.uk


An Object of type StructDomainTldInfo

<?php 
$clientSOAP = new SoapClient("http://URL.wsdl");
 
try 
{ 
      $idSession = $clientSOAP->sessionOpen("XXXX", "XXXX", "EN"); 
      $StructDomainTldInfo = $clientSOAP->domainTldInfo($idSession, "COM"); 
      echo "<pre>"; 
      print_r($StructDomainTldInfo); 
      echo "</pre>"; 
} 
catch(SoapFault $fault) 
{ 
      echo "Exception : " .$fault->getMessage(). "\n"; 
} 
 
if(isset($idSession)) 
{ 
      $clientSOAP->sessionClose($idSession); 
} 
?>