04 2011 档案

摘要:A custom remote certificate validation can be used to avoid the strict validation, instead, just make it trust anything. In your code, simply make a call to the static method SetCertificatePolicy() once within your application before making any request to the web services.//notethiscodeisnotintended 阅读全文
posted @ 2011-04-19 14:13 sayo.net 阅读(671) 评论(0) 推荐(0) 编辑
摘要:Could not find a base address that matches scheme http for the endpoint with binding MetadataExchangeHttpBinding. Registered base address schemes are [https]. The base address for your service defines "HTTPS://" - but your mex address is "HTTP". If you want your service to use ht 阅读全文
posted @ 2011-04-19 12:43 sayo.net 阅读(1454) 评论(0) 推荐(0) 编辑
摘要:When attempting to run a service that receives messages over the HTTP transport, you may receive an error similar to the following: Server Error in '/WCFApplication' Application Could not load type 'System.ServiceModel.Activation.HttpModule' from assembly 'System.ServiceModel, Ve 阅读全文
posted @ 2011-04-15 18:25 sayo.net 阅读(508) 评论(0) 推荐(0) 编辑
摘要:1. Run command prompt as administrator, and run the following command"%windir%\Microsoft.NET\Framework\v3.0\Windows Communication Foundation\ServiceModelReg.exe" -r -yThis step is used to make IIS can run WCF service.2. Make certificate for LocalMachineUse VS2008’s command prompt and run a 阅读全文
posted @ 2011-04-14 15:35 sayo.net 阅读(264) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示