Link to home
Start Free TrialLog in
Avatar of intikhabk
intikhabk

asked on

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

I am getting the error while making a WCF call...the endpoint url is https..

I added a Service reference to the url using VS2008. The proxy is created properly and the in the web.config file, basicHttpBinding is added...The endpoint url is https...

But after making the call, it throws an error The provided URI scheme 'https' is invalid; expected 'http'. Parameter name: via
ASKER CERTIFIED SOLUTION
Avatar of mikebirt
mikebirt
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of intikhabk
intikhabk

ASKER

got the solution