【问题标题】:How to specify username in ClientCredentials (Basic) while calling SAP PI service from WCF从 WCF 调用 SAP PI 服务时如何在 ClientCredentials (Basic) 中指定用户名
【发布时间】:2015-02-12 12:21:12
【问题描述】:

我需要使用 http 而不是 https

提供的 URI 方案“http”无效;预期的“https”。 参数名称:via

我必须改变什么?

【问题讨论】:

    标签: c# wcf sap sap-xi sap-pi


    【解决方案1】:

    使用我需要切换的配置文件:

    <customBinding>
        <binding>
            <httpsTransport />
        </binding>
    <customBinding>
    

    到

    <customBinding>
        <binding>
            <httpTransport />
        </binding>
    <customBinding>
    

    【讨论】:

    • 我需要通过基本到 HTTP 登录
    猜你喜欢
    • 1970-01-01
    • 2011-03-16
    • 2014-03-25
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多