Hi!
I’m trying to use an WCF webservice (I’m using VB.NET). When I look at the config file I have got when I added the service to Service References the binding type is custom binding and the security authentication mode is UserNameOverTransport, and I think I have to use https transport.

When I look at my auto generated App.config file the binding type is custom binding and the security authentication mode is UserNameOverTransport. But when I try to call the service I get the error:
The 'CustomBinding'.'http://tempuri.org/' binding for the 'web service' contract is configured with an authentication mode that requires transport level integrity and confidentiality. However the transport cannot provide integrity and confidentiality.

Can somebody please help me with this?

Thanks!