• WCF之HTTPS传输WebConfig配置


    <system.serviceModel>
        <client>
          <endpoint address="https://evitest.1010bao.com:8891/InternalService/EvidenceService.svc"
            binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IEvidenceService"
            contract="Evidence.IEvidenceService" name="BasicHttpBinding_IEvidenceService" />
          <endpoint address="https://evitest.1010bao.com:8891/InternalService/UserService.svc"
            binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IUserService"
            contract="User.IUserService" name="BasicHttpBinding_IUserService" />
          <endpoint address="https://evitest.1010bao.com:8891/Timestamp/Service.svc"
            binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IService"
            contract="Timestamp.IService" name="BasicHttpBinding_IService" />
          <endpoint address="https://evitest.1010bao.com:8889/CA/Service.svc"
            binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IService1"
            contract="CA.IService" name="BasicHttpBinding_IService1" />
          <endpoint address="https://evitest.1010bao.com:8891/InternalService/AppService.svc"
            binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IAppService"
            contract="App.IAppService" name="BasicHttpBinding_IAppService" />
        </client>
        <bindings>
          <basicHttpBinding>
            <binding name="secureHttpBinding">
              <security mode="Transport">
                <transport clientCredentialType="None" />
              </security>
            </binding>
            <binding name="BasicHttpBinding_IEvidenceService">
              <security mode="Transport" />
            </binding>
            <binding name="BasicHttpBinding_IUserService">
              <security mode="Transport" />
            </binding>
            <binding name="BasicHttpBinding_IService">
              <security mode="Transport" />
            </binding>
            <binding name="BasicHttpBinding_IService1">
              <security mode="Transport" />
            </binding>
            <binding name="BasicHttpBinding_IAppService">
              <security mode="Transport" />
            </binding>
          </basicHttpBinding>
        </bindings>
      </system.serviceModel>

    http://stackoverflow.com/questions/4481131/what-are-the-differences-between-security-mode-transport-and-security-mode-tr

  • 相关阅读:
    第十三章 第六小节 对象移动
    第十二章 动态内存
    Spring mybatis源码篇章-SqlSessionFactoryBean
    Spring aop使用
    Maven pom.xml简单归结
    Maven settings.xml配置解读
    Maven安装
    Tomcat部署WEB应用方式
    【Eclipse】web项目部署新手篇
    Oracle客户端工具安装
  • 原文地址:https://www.cnblogs.com/PEPE/p/3686061.html
Copyright © 2020-2023  润新知