Browse Source

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

liyuanyuan 3 years ago
parent
commit
c3ba428169

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

@@ -77,7 +77,7 @@
77 77
         preCondition="managedHandler"/>
78 78
     </modules>
79 79
   </system.webServer>
80
-  <system.serviceModel>
80
+  <!--<system.serviceModel>
81 81
     <bindings>
82 82
       <basicHttpBinding>
83 83
         <binding name="WebService1Soap" />
@@ -88,5 +88,20 @@
88 88
         binding="basicHttpBinding" bindingConfiguration="WebService1Soap"
89 89
         contract="ServiceGethzinfo.WebService1Soap" name="WebService1Soap" />
90 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 103
   </system.serviceModel>
104
+   
105
+
106
+
92 107
 </configuration>