Kaynağa Gözat

修正可调试扩展接口

xuwei 3 yıl önce
ebeveyn
işleme
988f07b828

+ 2 - 0
WCF.Service/WCF.Hosting/App.config

@@ -353,5 +353,7 @@
     <add type="Dongke.IBOSS.PRD.WCF.Services.PublicModuleService, WCF.Services" />
     <add type="Dongke.IBOSS.PRD.WCF.Services.SmartDeviceService, WCF.Services" />
     <add type="Dongke.IBOSS.PRD.WCF.Services.SAPDataService, WCF.Services" />
+	<add type="Dongke.IBOSS.PRD.WCF.ExHGS3QRS.ExHGS3QR, WCF.ExHGS3QRS" />
+	<add type="Dongke.IBOSS.PRD.WCF.Services.Ex_HGS3_QR, WCF.Services" />
   </dongke.batchingHosting>
 </configuration>

+ 26 - 5
WCF.Service/WCF.Services/ServiceHost/ServiceHostCollection.cs

@@ -11,6 +11,7 @@
 using System;
 using System.Collections.ObjectModel;
 using System.ServiceModel;
+using Dongke.IBOSS.PRD.WCF.ExHGS3QRS;
 
 using Dongke.IBOSS.PRD.WCF.Services.ConfigSetting;
 
@@ -70,11 +71,31 @@ namespace Dongke.IBOSS.PRD.WCF.Services
         /// </summary>
         public void Init()
         {
-            BatchingHostingSettings settings = BatchingHostingSettings.GetSection();
-            foreach (ServiceTypeElement element in settings.ServiceTypes)
-            {
-                this.AddServiceHost(element.ServiceType);
-            }
+            //BatchingHostingSettings settings = BatchingHostingSettings.GetSection();
+            //foreach (ServiceTypeElement element in settings.ServiceTypes)
+            //{
+            //    this.AddServiceHost(element.ServiceType);
+            //}
+
+            this.AddServiceHost(typeof(WCFTestService));
+            this.AddServiceHost(typeof(PDAModuleService));
+            this.AddServiceHost(typeof(DKIBOSSPRDService));
+            this.AddServiceHost(typeof(CommonModuleService));
+            this.AddServiceHost(typeof(CMNModuleService));
+            this.AddServiceHost(typeof(SystemModuleService));
+            this.AddServiceHost(typeof(HRModuleService));
+            this.AddServiceHost(typeof(PCModuleService));
+            this.AddServiceHost(typeof(PMModuleService));
+            this.AddServiceHost(typeof(PPModuleService));
+            this.AddServiceHost(typeof(TATModuleService));
+            this.AddServiceHost(typeof(ReportModuleService));
+            this.AddServiceHost(typeof(PMModuleServiceNew));
+            this.AddServiceHost(typeof(PCModuleServiceNew));
+            this.AddServiceHost(typeof(PAMModuleService));
+            this.AddServiceHost(typeof(PublicModuleService));
+            this.AddServiceHost(typeof(SmartDeviceService));
+            this.AddServiceHost(typeof(SAPDataService));
+            this.AddServiceHost(typeof(ExHGS3QR));
         }
 
         /// <summary>

+ 4 - 0
WCF.Service/WCF.Services/WCF.Services.csproj

@@ -218,6 +218,10 @@
       <Project>{4c4bfbdc-125c-488a-8b35-5a0637478c66}</Project>
       <Name>WCF.DataModels</Name>
     </ProjectReference>
+    <ProjectReference Include="..\WCF.Ex_HGS3_QRS\WCF.ExHGS3QRS.csproj">
+      <Project>{157cb7a7-8b8a-4043-ab3a-2c5bf32a1a27}</Project>
+      <Name>WCF.ExHGS3QRS</Name>
+    </ProjectReference>
   </ItemGroup>
   <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
   <!-- To modify your build process, add your task inside one of the targets below and uncomment it.