当从WCF调用SAP PI服务时,如何在ClientCredentials(Basic)中指定用户名?

问题描述 投票:0回答:1

我需要使用http而不是https

所提供的URI方案'http'无效;预期的是'https'.参数名称:via。

我需要改变什么?

enter image description here

c# wcf sap sap-xi sap-pi
1个回答
2
投票

使用配置文件,我需要从:

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

换成

<customBinding>
    <binding>
        <httpTransport />
    </binding>
<customBinding>
© www.soinside.com 2019 - 2024. All rights reserved.