Roger
Roger

Reputation: 2135

Add Service Reference take a https wsdl and generates a http endnpoint

In VS2008 and 2010, when I add a service reference to a service that indicates https, the endpoint it creates is http. If I try to change the endpoint in the app.config to https, I get:

The provided URI scheme 'https' is invalid; expected 'http'.
Parameter name: via

Upvotes: 1

Views: 1398

Answers (1)

Maxim
Maxim

Reputation: 7348

In the binding the security is defined to be <security mode="Transport"> ?

Transport means SSL, which have to be https://

Upvotes: 2

Related Questions