is it possible to have BasicHttpBinding with an Custom UserNamePasswordValidator and have transport security?
- I have tried with wsHttpBinding but when I cant make an php soap client explained in this link. Using SOAP wsHttpBinding from PHP
- and in this guide they talk as if custom UserNamePasswordValidator wont get called in basicHttpBinding. http://www.codeproject.com/Articles/36396/Difference-between-BasicHttpBinding-and-WsHttpBind
I just get InvalidSecurity from php soap and if I trace the error Security processor was unable to find a security header in the message. This might be because the message is an unsecured fault or because there is a binding mismatch between the communicating parties. This can occur if the service is configured for security and the client is not using security.
currently im using basicHttpBinding with TransportWithMessageCredential with clientCredentialType="UserName" />
i'll include the config if its necessary but I just need to know if it can be done or else I guess I have to call the validate method inside every [OperationContract]? havent tested this yet but seen others talk about it.