使用wsSecurity和WS-Addressing调用api作为Web引用添加

时间:2016-07-08 06:39:46

标签: wcf ws-security ws-addressing

我必须使用WsSecurity(WSS)和WS-Addressing(WSA)来使用客户端API。虽然我在我的app.config端点使用API​​,配置像贝娄。 我已将其添加为网络参考。

<applicationSettings>
<WCFDemoforVEDA.Properties.Settings>
  <setting name="WCFDemoforVEDA_VEDAServiceReference_idmatrix"
    serializeAs="String">
    <value>https://vedaxml.com/sys2/idmatrix-v4</value>
  </setting>
</WCFDemoforVEDA.Properties.Settings>

你可以帮我解决在调用api时我们如何传递用户名和密码的方法。

0 个答案:

没有答案