经过大量的谷歌搜索后,我请求您帮助解决一个似乎很容易但......实际上不是的问题。
如何使用自定义登录名/密码,如本教程中的 basichttpbinding 而不是 WSHttpBinding? http://codebetter.com/petervanooijen/2010/03/22/a-simple-wcf-service-with-username-password-authentication-the-things-they-don-t-tell-you/
我需要这个,因为我的 web 服务的客户端可能在 PHP 中,并且我发现 WSHttpBinding 不适用于 PHP Soap 实现。
提前谢谢!