HostingInfo

From NETIM
Jump to: navigation, search
Release Runtime
API > 1.4 Synchronous


Description

Returns all informations about the hosting

StructHostingInfo hostingInfo(string idSession, string fqdn)


Parameters

Format Variable Description Notes
string (32) idSession Session ID
string (255) fqdn Hostname Fully qualified domain name


Return

An object of StructHostingInfo containing all informations about the hosting


Notes

None

Examples

PHP

$clientSOAP = new SoapClient("http://URL.wsdl");
 
try 
{ 
      $idSession = $clientSOAP->login("XXXX", "XXXX", "EN"); 
      $StructhostingInfo = $clientSOAP->hostingInfo($idSession, "netim.com"); 
 
      print_r($structHostingInfo); 
} 
catch(SoapFault $fault) 
{ 
      echo "Exception : " .$fault->getMessage(). "\n"; 
} 
 
if(isset($idSession)) 
{ 
      $clientSOAP->logout($idSession); 
}


JAVA

DRSServiceLocator service = new DRSServiceLocator(); 
String idSession; 
StructHostingInfo structHostingInfo; 
 
try 
{ 
      DRSPortType port = service.getDRSPort(); 
      idSession = port.login("XXXX", "XXXX", "EN"); 
 
      structHostingInfo = port.hostingInfo(idSession, "netim2108.at"); 
      System.out.println(structHostingInfo.getDomain() +" "+ structHostingInfo.getDateCreate() +" "+ structHostingInfo.getDateExpiration()); 
 
      port.logout(idSession); 
} 
catch (RemoteException re) 
{ 
      System.out.println(re.getMessage()); 
} 
catch (ServiceException se) 
{ 
      se.printStackTrace(); 
}
Personal tools
Namespaces

Variants
Actions
Your account
Domain names
Contact Us
Web Hosting
SSL Certificate
Email Hosting
Website Builder
Resellers
Affiliates
Miscellaneous