Przeglądaj źródła

调用人家的webservice 修改了配置文件

liyuanyuan 3 lat temu
rodzic
commit
c3ba428169

+ 16 - 1
codegit/CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Web.config

77
         preCondition="managedHandler"/>
77
         preCondition="managedHandler"/>
78
     </modules>
78
     </modules>
79
   </system.webServer>
79
   </system.webServer>
80
-  <system.serviceModel>
80
+  <!--<system.serviceModel>
81
     <bindings>
81
     <bindings>
82
       <basicHttpBinding>
82
       <basicHttpBinding>
83
         <binding name="WebService1Soap" />
83
         <binding name="WebService1Soap" />
88
         binding="basicHttpBinding" bindingConfiguration="WebService1Soap"
88
         binding="basicHttpBinding" bindingConfiguration="WebService1Soap"
89
         contract="ServiceGethzinfo.WebService1Soap" name="WebService1Soap" />
89
         contract="ServiceGethzinfo.WebService1Soap" name="WebService1Soap" />
90
     </client>
90
     </client>
91
+  </system.serviceModel>-->
92
+  
93
+  <system.serviceModel>
94
+    <bindings>
95
+      <basicHttpBinding>
96
+        <!--<binding name="DHCXueTangInerfaceSoap" />-->
97
+        <binding name="DHCXueTangInerfaceSoap"  maxBufferSize="10485760" maxReceivedMessageSize="10485760"/>
98
+      </basicHttpBinding>
99
+    </bindings>
100
+    <client>
101
+      <endpoint address="http://172.20.0.5/dthealth/web//web.DHCXueTangInerface.cls" binding="basicHttpBinding" bindingConfiguration="DHCXueTangInerfaceSoap" contract="ServiceGethzinfo.DHCXueTangInerfaceSoap" name="DHCXueTangInerfaceSoap" />
102
+    </client>
91
   </system.serviceModel>
103
   </system.serviceModel>
104
+   
105
+
106
+
92
 </configuration>
107
 </configuration>