Encryption 使用SoapUI拦截加密的SOAP消息

Encryption 使用SoapUI拦截加密的SOAP消息,encryption,soapui,ws-security,Encryption,Soapui,Ws Security,我尝试用SoapUI截获加密的soap消息。使用Wildfly 8和EclipseIDE的WS-Security的参考站点是 WS-Security实现成功,并且响应消息已成功加密。WS-security中的主键是manifest.mf。我在manifest.mf文件中添加了以下几行,它在Eclipse IDE中运行良好 Manifest-Version: 1.0 Dependencies: org.apache.cxf.impl, org.apache.ws.security service

我尝试用SoapUI截获加密的soap消息。使用Wildfly 8和EclipseIDE的WS-Security的参考站点是

WS-Security实现成功,并且响应消息已成功加密。WS-security中的主键是manifest.mf。我在manifest.mf文件中添加了以下几行,它在Eclipse IDE中运行良好

Manifest-Version: 1.0
Dependencies: org.apache.cxf.impl, org.apache.ws.security services
Class-Path: 
但在SoapUI应用程序中,soap消息加密失败。我的参考网站是

SEI抛出以下异常

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
   <soap:Body>
      <soap:Fault>
         <faultcode>soap:Server</faultcode>
         <faultstring>These policy alternatives can not be satisfied: 
{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}ProtectionToken
{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}IncludeTimestamp: Received Timestamp does not match the requirements
{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}SymmetricBinding: Received Timestamp does not match the requirements
{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}EndorsingSupportingTokens: The received token does not match the endorsing supporting token requirement
{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}X509Token: The received token does not match the token inclusion requirement
{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}EncryptedParts: {http://schemas.xmlsoap.org/soap/envelope/}Body not ENCRYPTED
{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}SignedParts: {http://schemas.xmlsoap.org/soap/envelope/}Body not SIGNED</faultstring>
      </soap:Fault>
   </soap:Body>
</soap:Envelope>

soap:服务器
这些政策选择无法满足:
{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}ProtectionToken
{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}IncludeTimestamp:收到的时间戳与要求不匹配
{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}SymmetricBinding:收到的时间戳与要求不匹配
{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}背书支持令牌:收到的令牌与背书支持令牌要求不匹配
{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}X509Token:收到的令牌与令牌包含要求不匹配
{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}加密部件:{http://schemas.xmlsoap.org/soap/envelope/}正文未加密
{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}签名部分:{http://schemas.xmlsoap.org/soap/envelope/}未签名的正文
当我没有在manifest.mf文件中添加dependencies行时,在Eclipse IDE中引发了相同的异常。您认为这些是相关的并且有相同的配置问题吗