From efa48f2d4c44a11ca38a9ee3794c3c47d6acd282 Mon Sep 17 00:00:00 2001 From: yangle <admin@YINMOU> Date: 星期五, 31 三月 2023 09:51:56 +0800 Subject: [PATCH] 1 --- WebAPI/Web.config | 37 ++++++++++++++++++++++++++++++++----- 1 files changed, 32 insertions(+), 5 deletions(-) diff --git a/WebAPI/Web.config b/WebAPI/Web.config index 1edf602..2d3f598 100644 --- a/WebAPI/Web.config +++ b/WebAPI/Web.config @@ -6,6 +6,8 @@ <configuration> <configSections> + + <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> @@ -18,10 +20,19 @@ <appSettings> <!--鏈嶅姟鍣ㄦ枃浠禝P鍦板潃--> <!--<add key="FileIP" value="http://localhost:8082/LuBaoAPI"/>--> - <add key="FileIP" value="http://localhost:8080/"/> - <add key="sUrl" value="http://183.129.128.86:9090/WEBS-WMSTest/WebService1.asmx"/> - <!--<add key="sUrl" value="http://10.10.130.181/WEBS-WMS/WebService1.asmx"/> 鍗氭棩绉戞妧--> - <add key="webpages:Version" value="3.0.0.0" /> + <add key="FileIP" value="http://localhost:8080/" /> + <!--<add key="sUrl" value="http://183.129.128.86:9090/WEBS-WMSTest/WebService1.asmx"/> --> + <!--<add key="sUrl" value="http://192.168.63.3/WEBS-WMS/WebService1.asmx"/> --><!--棰滃彴寮忔満--> + <add key="sUrl" value="http://122.227.133.186:8090/WEBS/WebService1.asmx"/> <!--涔斾竴--> + <!--<add key="sUrl" value="http://60.190.4.42:9003/WebService/WebService1.asmx" /> 澶忓疂--> + <!--<add key="sUrl" value="http://60.190.4.42:9003/WebService/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://60.191.27.141:8090/WEBS-WMS/WebService1.asmx"/> 妫シ--> + <!--<add key="sUrl" value="http://47.96.97.237/WEBS-WMS/WebService1.asmx"/> --> + <!--<add key="sUrl" value="http://192.168.80.90:9090/WEBS/WebService1.asmx"/> 瀹夌憺鏈嶅姟鍣�--> + <!--<add key="sUrl" value="http://47.96.97.237/WEBS-WMS/WebService1.asmx"/> 娴嬭瘯鏈嶅姟鍣�--> + <add key="webpages:Version" value="3.0.0.0" /> <add key="webpages:Enabled" value="false" /> <add key="ClientValidationEnabled" value="true" /> <add key="UnobtrusiveJavaScriptEnabled" value="true" /> @@ -80,10 +91,26 @@ <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://122.227.133.186:8090/WEBS/WebService1.asmx" binding="basicHttpBinding" + bindingConfiguration="WebService1Soap" contract="Webs1.WebService1Soap" + name="WebService1Soap" /> + </client> + </system.serviceModel> + <applicationSettings> <WebAPI.Properties.Settings> + <setting name="WebAPI_WebS2_WebService1" serializeAs="String"> + <value>http://122.227.133.186:8090/WEBS/WebService1.asmx</value> + </setting> <setting name="WebAPI_WebS_WebService1" serializeAs="String"> - <value>http://localhost/WEBS-WMSTest/WebService1.asmx</value> + <value>http://122.227.133.186:8090/WEBS/WebService1.asmx</value> </setting> </WebAPI.Properties.Settings> </applicationSettings> -- Gitblit v1.9.1