代码之家  ›  专栏  ›  技术社区  ›  Michał Niklas

Axis2问题:WSHandler:检查签名确认:存储的SV向量不为空

  •  1
  • Michał Niklas  · 技术社区  · 14 年前

    我在查询使用WS-Security的webservice时遇到问题。我使用axis2编写的代码 rampard 实现WS-Security的模块。我想我提出了一个很好的问题,我得到了答复,但这个答复有一些我的客户不明白的地方。异常如下所示:

     INFO [main] (?:?) - Verification successful for URI "#element-113-1282904809584-289878786"
     INFO [main] (?:?) - Verification successful for URI "#timestamp"
    ERROR [main] (AxisEngine.java:209) - WSHandler: Check Signature confirmation: stored SV vector not empty
    org.apache.axis2.AxisFault: WSHandler: Check Signature confirmation: stored SV vector not empty
        at org.apache.rampart.handler.WSDoAllReceiver.processMessage(WSDoAllReceiver.java:92)
        at org.apache.rampart.handler.WSDoAllHandler.invoke(WSDoAllHandler.java:72)
        at org.apache.axis2.engine.Phase.invoke(Phase.java:318)
        at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:251)
        at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:160)
        ...
    

    兰帕德 中的配置 axis2.xml :

    <parameter name="InflowSecurity">
      <action>
        <items>Signature Encrypt</items>
        <passwordCallbackClass>pl.firstdata.www.wdx.business.card.PWCallback</passwordCallbackClass>
        <signaturePropFile>client.properties</signaturePropFile>
        <signatureKeyIdentifier>SKIKeyIdentifier</signatureKeyIdentifier>
        <signatureParts>{Element}{http://schemas.xmlsoap.org/soap/envelope/}Body</signatureParts>
        <encryptionKeyIdentifier>SKIKeyIdentifier</encryptionKeyIdentifier>
        <encryptionUser>wdx_test</encryptionUser>
      </action>
    </parameter> 
    

    1 回复  |  直到 14 年前
        1
  •  0
  •   Michał Niklas    14 年前

    我变了 axis2.xml

    <parameter name="InflowSecurity">
      <action>
        ... 
        <enableSignatureConfirmation>false</enableSignatureConfirmation>
      </action>
    </parameter>
    

    现在,我的客户机不希望在服务器响应中确认签名。