79
votes
7answers
77k views
The provided URI scheme 'https' is invalid; expected 'http'. Parameter name: via
I am trying to make a WCF service over basicHttpBinding to be used over https. Here's my web.config:
<service behaviorConfiguration="MyServices.PingResultServiceBehavior"
...
16
votes
3answers
17k views
How do I tell WCF to skip verification of the certificate?
Trying to make a web service call to an HTTPS endpoint in my Silverlight application results in this error: "Could not find a base address that matches scheme https for the endpoint with binding ...
30
votes
7answers
82k views
https with WCF error: “Could not find base address that matches scheme https”
I go to https://mywebsite/MyApp/Myservice.svc and get the following error:
(The link works if I use http:// )
"The service '/MyApp/MyService.svc' cannot be activated due to an exception during ...
19
votes
2answers
2k views
https from console app?
I am not using IIS, it isn't even installed on this computer. I also have no app.config files or web.config files in my console hosted wcf rest service. But I would like to try and get https running ...
4
votes
3answers
5k views
WCF Https vs Http
There are two samples:
for http:
using System;
using System.Net;
using System.Net.Security;
using System.Security.Cryptography.X509Certificates;
using System.ServiceModel;
using ...
8
votes
4answers
30k views
calling a web service using WCF over Http and Https
I know little about WCF so please bear with me!
In our project we have a java web service that runs over http and https.
We want to use http internally and https for the external version of our web ...
17
votes
7answers
17k views
WCF over SSL - 404 error
Okay, I must be missing something utterly simple here, because I've been googling for days, and looking at dozens of answers there, and here on SO, and i just CANNOT get this to work, no matter what ...
4
votes
3answers
9k views
Deploying WCF Service with both http and https bindings/endpoints
I've written a WCF web service for consumption by a Silverlight app. Initially, the service only required a basic http binding. We now need to be able to deploy the service for use under both http ...
7
votes
2answers
6k views
WCF sessions with HTTPS
I cannot figure out how to enable per-session instances for my WCF service while using HTTPS. (I'm not an ASP.NET expert but don't want to use ASP.NET session state if possible.) I am using .NET ...
10
votes
2answers
24k views
The HTTP request was forbidden with client authentication scheme 'Anonymous'
I am trying to configure a WCF server\client to work with SSL
I get the following exception:
The HTTP request was forbidden with client authentication scheme
'Anonymous'
I have a self hosted ...
5
votes
3answers
2k views
How to fix the WCF maxClockSkew problem in a HTTPS Silverlight application context?
Situation: Silverlight 4 app communicating with a server component through WCF, using basicHttpBinding and HTTPS.
Here is the binding used server side:
<basicHttpBinding>
<binding ...
1
vote
1answer
546 views
Why my WSDL still shows basic http binding with the location value of http?
I enabled https binding, but my WSDL has soap address of http. Any ideas why? Thanks!
<wsdl:service name="XXXX"><wsdl:port name="BasicHttpBinding_XXXXService" ...
1
vote
1answer
9k views
Could not find a base address that matches scheme https for the endpoint with binding WebHttpBinding. Registered base address schemes are [http]
I've been through several web site that suggest solution to this problem, but still I can't get rid of it.
My WebConfig:
<bindings>
<webHttpBinding>
<binding ...
1
vote
1answer
3k views
Why WCF InstanceContextMode.PerSession is not working over https?
I have problems with [ServiceBehavior(InstanceContextMode = InstanceContextMode.PerSession )]
I have simple wcf service, which is hosted in IIS 7.
Service code:
[ServiceContract(SessionMode = ...
1
vote
2answers
2k views
SecurityError when calling a HTTPS-WCF Service from Silverlight 4
I have created a simple WCF-Service which I want to be accessible via https. The WCF-Service uses a UserNamePasswordValidator, customBinding and UserNameOverTransport as authentication mode. I run it ...