1

我正在尝试使用 WSO2 Micro Integrator 自定义配置了 ws-security 策略(使用自定义 Rampart 配置)的代理服务返回的错误响应。例如,如果客户端发送无效证书,则默认故障信封为:

<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> ... 
<soapenv:Body>
    <soapenv:Fault
        xmlns:axis2ns5="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
        <faultcode>axis2ns5:FailedCheck</faultcode>
        <faultstring>The signature or decryption was invalid (The provided certificate is invalid)</faultstring>
        <detail/>
    </soapenv:Fault>
</soapenv:Body></soapenv:Envelope>

更改默认故障序列或将自定义故障序列关联到代理服务没有效果:有什么建议吗?

受影响的版本:WSO2 Micro Integrator 4.0.0

提前致谢。

4

0 回答 0