From c6b5ec12fd95e928a10ec7e23334eb30829d000b Mon Sep 17 00:00:00 2001 From: zzr99 <1940172413@qq.com> Date: 星期三, 29 六月 2022 16:41:07 +0800 Subject: [PATCH] Merge branch 'master' of http://101.37.171.70:10101/r/MES-WEB-API --- WebAPI/Web.config | 18 +++++++++++++++--- 1 files changed, 15 insertions(+), 3 deletions(-) diff --git a/WebAPI/Web.config b/WebAPI/Web.config index 3c2649e..825d970 100644 --- a/WebAPI/Web.config +++ b/WebAPI/Web.config @@ -6,7 +6,7 @@ <configuration> <configSections> - <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" > <section name="WebAPI.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> </sectionGroup> </configSections> @@ -22,7 +22,7 @@ <!--<add key="sUrl" value="http://183.129.128.86:9090/WEBS-WMSTest/WebService1.asmx"/> --> <!--<add key="sUrl" value="http://192.168.63.195/WEBS-WMS/WebService1.asmx"/> 棰滃彴寮忔満--> <!--<add key="sUrl" value="http://60.190.4.42:9003/WebService/WebService1.asmx" /> 澶忓疂--> - <add key="sUrl" value="http://47.96.97.237/WEBS-WMS/WebService1.asmx" /> + <add key="sUrl" value="http://192.168.10.66/WEBS-WMS/WebService1.asmx" /> <!--<add key="sUrl" value="http://10.10.130.181/WEBS-WMS/WebService1.asmx"/> 鍗氭棩绉戞妧--> <!--<add key="sUrl" value="http://192.168.0.214/WEBS-WMS/WebService1.asmx"/> 鐟炰笌绁�--> <!--<add key="sUrl" value="http://192.168.10.66/WEBS-WMS/WebService1.asmx"/> 妫シ--> @@ -85,10 +85,22 @@ <add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" /> </handlers> </system.webServer> + <system.serviceModel> + <bindings> + <basicHttpBinding> + <binding name="WebService1Soap" /> + </basicHttpBinding> + </bindings> + <client> + <endpoint address="http://localhost:8098/WebService1.asmx" binding="basicHttpBinding" + bindingConfiguration="WebService1Soap" contract="Webs1.WebService1Soap" + name="WebService1Soap" /> + </client> + </system.serviceModel> <applicationSettings> <WebAPI.Properties.Settings> <setting name="WebAPI_WebS_WebService1" serializeAs="String"> - <value>http://47.96.97.237/WEBS-WMS/WebService1.asmx</value> + <value>http://192.168.10.66/WEBS-WMS/WebService1.asmx</value> </setting> </WebAPI.Properties.Settings> </applicationSettings> -- Gitblit v1.9.1