カスタムUserNamePasswordValidatorでBasicHttpBindingを使用し、トランスポートセキュリティを使用することは可能ですか?
- wsHttpBindingを試してみましたが、このリンクで説明されているphp石鹸クライアントを作成できない場合。 PHPからのSOAPwsHttpBindingの使用
- このガイドでは、basicHttpBindingでカスタムUserNamePasswordValidatorが呼び出されないかのように話します。 http://www.codeproject.com/Articles/36396/Difference-between-BasicHttpBinding-and-WsHttpBind
PHPのsoapからInvalidSecurityを取得し、エラーをトレースすると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.
現在、basicHttpBindingをwithで使用しTransportWithMessageCredential
ていますclientCredentialType="UserName" />
必要に応じて構成を含めますが、それが可能かどうかを知る必要があります。そうでない場合は、すべての内部でvalidateメソッドを呼び出す必要があります[OperationContract]
か?まだこれをテストしていませんが、他の人がそれについて話しているのを見ました。