【问题标题】:Oracle SOA Suite WS-Policies and Bound PropertiesOracle SOA Suite WS-Policies 和绑定属性
【发布时间】:2013-07-15 22:43:14
【问题描述】:

我正在尝试使用 Oracle SOA 套件从第三方网站进行查询。 SOAP 消息应该有一个标题:

<soapenv:Header>
<wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<wsse:UsernameToken wsu:Id="UsernameToken-1">
<wsse:Username>USERNAME_HERE</wsse:Username>
<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">PASSWORD_HERE</wsse:Password>
<wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">q3rLryh0dfQ1BucKrtpagw==</wsse:Nonce>
<wsu:Created>2012-11-26T20:38:56.682Z</wsu:Created>
</wsse:UsernameToken>
</wsse:Security>
</soapenv:Header>

但是,在 JDeveloper 中没有明确的方法来执行此操作。如何在 JDeveloper 和 SOA Suite 中配置我的 WS 策略和属性以生成带有上述标头的 SOAP 消息?

【问题讨论】:

    标签: oracle soa wsse


    【解决方案1】:

    你有两种选择

    1. 将策略分配给合作伙伴链接,右键单击合作伙伴链接并选择配置 WS 策略,选择您要配置的策略。 有关如何在开发过程中配置策略的信息Enabling Security with Policies

    2. 相反,您可以在管理控制台上使用 OWSM 配置您的策略。 有关如何配置 OWSM 策略的信息Managing Web Service Policies Refer to Chapter 7 and 8

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2016-07-07
      • 1970-01-01
      • 2018-02-10
      • 2011-05-07
      • 1970-01-01
      • 1970-01-01
      • 2014-09-11
      • 1970-01-01
      相关资源
      最近更新 更多