예제 #1
0
파일: Program.cs 프로젝트: KPratap/Yardi
 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);
 }
예제 #2
0
파일: Program.cs 프로젝트: KPratap/Yardi
 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);
 }
예제 #3
0
파일: Program.cs 프로젝트: KPratap/Yardi
        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());
            }
        }
예제 #4
0
파일: Program.cs 프로젝트: KPratap/Yardi
 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);
 }