解决方案 »

  1.   

    可以参考以下配置<system.serviceModel> 
          <bindings> 
            <wsHttpBinding> 
              <binding name="WSHttpBinding_IReceiverService"> 
                <security mode="Transport"> 
                  <transport clientCredentialType="Certificate" /> 
                </security> 
              </binding> 
            </wsHttpBinding> 
          </bindings> 
            <client> 
                <endpoint address=https://YourIP/ReceiverHost.svc behaviorConfiguration="credentialConfiguration" 
                    binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IReceiverService" 
                    contract="NotificationProxy.IReceiverService" name="WSHttpBinding_IReceiverService" /> 
            </client> 
          <behaviors> 
            <endpointBehaviors> 
              <behavior name="credentialConfiguration"> 
                <clientCredentials> 
                  <clientCertificate findValue="99bbc6c9e6f4a6bd526bc8bb21f9c21f0716c23r" 
              storeLocation="CurrentUser" 
              x509FindType="FindByThumbprint" />              </clientCredentials> 
              </behavior> 
            </endpointBehaviors> 
          </behaviors> 
        </system.serviceModel>
      

  2.   

    您好,您的意思是让我改服务器的WCF配置? 我想要的是 JAVA客户端调用
      

  3.   

    服务器其实怎么写都无所谓了,我现在就是不会用JAVA 客户端调用带数字证书验证的WCF 服务器端 方法。