soapUIを使用してテストできるように、私のWCF(.NET 4.0)サービスを設定しようとしています。私はメッセージセキュリティでwsHttpBindingを使用しています。私の目標は、サービスを公開テストエンドポイントに公開し、soapUIテストを使用するloadUIを使用してサービスをロードテストしようとすることです。これを動作させるには、エンドポイントを安全にする必要があります。また、プロダクションエンドポイントはメッセージセキュリティを使用するため、私は自分のテストを実動テストの結果に近づけるために使うべきだと判断します。soapUI with WCF Message Security
正常にサービスを呼び出すためにsoapUIを構成できないようです。私は、クライアントとサーバーの証明書を使って、入出力の署名と暗号化の組み合わせを試してきました。誰もWCFとsoapUIのメッセージセキュリティコンフィグレーションを成功させることができましたか?バインディング
:以下
は私の設定からexerptsある
<wsHttpBinding>
<binding name="MessageSecurity">
<security mode="Message">
<message clientCredentialType="Certificate" negotiateServiceCredential="false"/>
</security>
</binding>
</wsHttpBinding>
行動
<behaviors>
<serviceBehaviors>
<behavior name="customBehavior">
<serviceMetadata httpGetEnabled="True"/>
<serviceDebug includeExceptionDetailInFaults="True"/>
<serviceCredentials>
<clientCertificate>
<authentication certificateValidationMode="PeerTrust"/>
</clientCertificate>
<serviceCertificate findValue="MyWebServicesCertificate" x509FindType="FindBySubjectName" storeLocation="LocalMachine" storeName="My"/>
</serviceCredentials>
</behavior>
</serviceBehaviors>
<endpointBehaviors>
<behavior name="webHttp">
<webHttp/>
</behavior>
</endpointBehaviors>
</behaviors>
</system.serviceModel>
サービス:
<service behaviorConfiguration="customBehavior" name="MyService">
<!-- Service Endpoint -->
<endpoint name="Production" address="" binding="wsHttpBinding" bindingConfiguration="MessageSecurity" contract="IMyService">
<identity>
<dns value="web_services_svr"/>
</identity>
</endpoint>
<host>
<baseAddresses>
<add baseAddress="http://web_services_svr/MyService.svc" />
</baseAddresses>
</host>
</service>
SOAPUIが接続しようとしているエラーはどういうものですか? – kroonwijk
コンソールアプリケーションからサービスを呼び出してみてください。フィドラーを使用して要求と応答をキャプチャして確認します。 –