Commit e19154dd authored by solho's avatar solho

up

parent a63fd771
......@@ -25,7 +25,7 @@ using System.Web;
if (context.Request.HttpMethod.ToUpper() == "OPTIONS")
{
context.Response.StatusCode = 200;
context.Response.End();
//context.Response.End();
}
}
}
......@@ -30,9 +30,10 @@
</modules>
<!--<httpProtocol>
<customHeaders>
<add name="Access-Control-Allow-Origin" value="*" />
<add name="Access-Control-Allow-Origin" value="*" />
<add name="Access-Control-Allow-Methods" value="GET,PUT,POST,DELETE,OPTIONS" />
<add name="Access-Control-Allow-Headers" value="Content-Type,Accept" />
<add name="Access-Control-Allow-Credentials" value="true" />
</customHeaders>
</httpProtocol>-->
<staticContent>
......
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.serviceModel>
<bindings>
<basicHttpBinding>
<binding name="AutoUpdSoap" />
</basicHttpBinding>
</bindings>
<client>
<endpoint address="http://192.168.1.168/IPEasy/AutoUpdate/AutoUpd.asmx"
binding="basicHttpBinding" bindingConfiguration="AutoUpdSoap"
contract="AutoUpdateService.AutoUpdSoap" name="AutoUpdSoap" />
</client>
</system.serviceModel>
</configuration>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.serviceModel>
<bindings>
<basicHttpBinding>
<binding name="WSFMSoap" />
</basicHttpBinding>
</bindings>
<client>
<endpoint address="http://192.168.1.254:8066/AutoUpdate/WSFM.asmx"
binding="basicHttpBinding" bindingConfiguration="WSFMSoap"
contract="WsFM.WSFMSoap" name="WSFMSoap" />
</client>
</system.serviceModel>
</configuration>
\ No newline at end of file
No preview for this file type
No preview for this file type
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment