So, I want to get data from a wcf service, http://www.domain/Service.svc. To access, you need a header Authorization: username_value:password_value, in plain text. However, when I try to get data from Service.svc, I receive 400 Bad Request. MY guess is the security part of must be set accordingly. My settings are now:
<system.serviceModel> <bindings> <basicHttpBinding> <binding name="BasicHttpBinding_IService" closeTimeout="00:01:00"> <security mode="None"> <transport clientCredentialType="None" proxyCredentialType="None" /> <message clientCredentialType="UserName" /> </security> Is it OK like this ? Thanks.