Inheritance: System.Web.Services.Protocols.SoapHttpClientProtocol
コード例 #1
0
ファイル: PopulationData.cs プロジェクト: Carolasb/Terrarium
 /// <summary>
 ///  Initializes the web service proxies.  These are dynamically generated and so
 ///  this method only generates them one time to improve memory and performance.
 /// </summary>
 public void InitWebService()
 {
     if (_reportingService != null) return;
     _reportingService = new ReportingService
                             {
                                 Url = (GameConfig.WebRoot + "/reporting/reportpopulation.asmx"),
                                 Timeout = 60000
                             };
 }
コード例 #2
0
 /// <summary>
 ///  Initializes the web service proxies.  These are dynamically generated and so
 ///  this method only generates them one time to improve memory and performance.
 /// </summary>
 public void InitWebService()
 {
     if (this.reportingService == null)
     {
         this.reportingService = new ReportingService();
         reportingService.Url = GameConfig.WebRoot + "/reporting/reportpopulation.asmx";
         reportingService.Timeout = 60000;
     }
 }