static void GetCollectionsLeaseInfo_Nolic(string prop, string url) { YardiWebRef.ItfCollections s = new YardiWebRef.ItfCollections(); //s.CookieContainer = new System.Net.CookieContainer(); //ServicePointManager.CertificatePolicy = new CertificateValidation(); s.Url = url; // s.Url url; //= "https://www.iyardiasp.com/8223thirdqa/Webservices/itfcollections.asmx"; //string lic = GetLicense2("V100055004.lic"); XmlNode XmlNodeResponse; XmlNodeResponse = s.Get_CollectionsLeaseInfo( "rentrecoveryws", "55004", "aspdb04", "afqoml_live", "SQL Server", "Rent Recovery Solutions", prop ); XElement xE2 = XElement.Parse(XmlNodeResponse.OuterXml); xE2.Save(prop + "_" + DateTime.Now.ToString("MMddyyyy_hhmm") + ".xml"); Console.WriteLine(xE2); }
private static void GetVersionOld() { YardiWebRef.ItfCollections s = new YardiWebRef.ItfCollections(); s.Url = "https://www.iyardiasp.com/8223thirddev/Webservices/itfcollections.asmx"; //s.Url = "https://www.iyardiasp.com/8223thirdqa/webservices/itfcollections.asmx"; string XmlNodeResponse; XmlNodeResponse = s.GetVersionNumber(); Console.WriteLine(XmlNodeResponse); }
private static void Ping() { try { YardiWebRef.ItfCollections s = new YardiWebRef.ItfCollections(); s.Url = "https://www.iyardiasp.com/8223thirddev/Webservices/itfcollections.asmx"; string XmlNodeResponse; XmlNodeResponse = s.Ping(); Console.WriteLine(XmlNodeResponse); } catch (Exception ex) { Console.WriteLine(ex.ToString()); } }
static void Getproperties() { YardiWebRef.ItfCollections s = new YardiWebRef.ItfCollections(); s.CookieContainer = new System.Net.CookieContainer(); ServicePointManager.CertificatePolicy = new CertificateValidation(); s.Url = "https://www.iyardiasp.com/8223thirddev/Webservices/itfcollections.asmx"; string lic = GetLicense("V100055004.lic"); XmlNode XmlNodeResponse; XmlNodeResponse = s.GetPropertyConfigurations( "rentrecoveryws", "55004", "aspdb04", "afqoml_live", "SQL Server", "Rent Recovery Solutions", lic ); XElement xE2 = XElement.Parse(XmlNodeResponse.OuterXml); Console.WriteLine(xE2); }