2
誰かが私を助けてくれることを願っています。
WSSEセキュリティヘッダー
username => "webServiceUserName"
password => "webServicePassword"
WSS-Password Type => "PasswordDigest"
私が使用しています:私は、私は、Webサービスとの認証のために、以下の情報を渡す必要があると言われてい
https://link.hertz.com/AuthenticationWebservice/authenticateAdmin?wsdl
このWebサービスを呼び出すしようとしています
asp.net 4.0のアプリケーションで、WebサービスコールにWSS-Passwordタイプを渡す方法がわかりません。
:事前に
service1.AuthenticateAdminClient myClient = new service1.AuthenticateAdminClient();
myClient.ClientCredentials.UserName.UserName = "webServiceUserName";
wsClient.ClientCredentials.UserName.Password = "webServicePassword";
myClient.authenticateAdminCredentials(myUserName, myPassword, myDomain);
おかげで、
ハリ
こんにちは、まずはお返事ありがとうございます。あなたの提案を含めるようにコードを変更しました。しかし、私は例外を取得しています:
ヘッダーの処理中にエラーが検出されました。
よくわからない、今すぐどうぞ? – Hari