我是使用WCF安全服務的新手。用C#客戶端調用WS-Security Java Web服務
我想用安全的HTTPS傳輸連接到一個java web服務,它使用WS-Security UsernamePassword令牌認證。
我試圖用WCF客戶端連接使用下面的綁定沒有運氣。
<bindings>
<wsHttpBinding>
<binding name="OperationsEndpoint1Binding" closeTimeout="00:01:00"
openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
maxBufferPoolSize="524288" maxReceivedMessageSize="1015536"
messageEncoding="Text" textEncoding="utf-8"
useDefaultWebProxy="true">
<readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
maxBytesPerRead="4096" maxNameTableCharCount="16384" />
<security mode="TransportWithMessageCredential">
<transport clientCredentialType="None" proxyCredentialType="None" realm="" />
<message clientCredentialType="UserName" algorithmSuite="Default" />
</security>
</binding>
</wsHttpBinding>
</bindings>
有沒有人有解決方案連接到java webservice HTTPS傳輸和使用WS-Security UsernamePassword令牌認證非常感謝。