Cannot add a WCF service that supports HTTPS as a service reference in the Visual Studio 2010 IDE

The following exception occurred when adding a WCF service supported by HTTPS as a service link through Visual Studio 2010

Error loading "https://abc.cloudapp.net/DataService.svc". Request failed with HTTP status 403: Forbidden. Metadata contains a link that cannot be resolved: 'https://abc.cloudapp.net/DataService.svc'. An HTTP request was denied using the Anonymous client authentication scheme. The remote server responded with an error: (403) Forbidden. If the service is defined in the current solution, try creating a solution and adding the link to the service again.

Please suggest me a solution for this.

+5
source share
5

- , Visual Studio , , .

.

URL- .

+7

. https GET URL- .

<serviceMetadata httpsGetEnabled="true" />

WCF HTTPS.

+3

, http://abc.cloudapp.net/DataService.svc ( https), web.config http https.

0

URL- https IE WSDL? WSDL IE - , , , VS - . WSDL , .

Visual Studio, IE, wdd WCF WCF WSDL . VS2010, " ServiceReference", WSDL , - Secure WCF, .

0

.

Internet Explorer → → → →

WCF, , "", .

If this is not allowed, import the same certificate into the Server under personal or trusted people.

0
source

All Articles