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
阅读全文
摘要: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
阅读全文
摘要: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
阅读全文
摘要: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
阅读全文