e-Contract / dssp

Digital Signature Service Protocol
Other
4 stars 2 forks source link

WSSecurityException #4

Closed TimDMeyer closed 9 years ago

TimDMeyer commented 9 years ago

I keep getting the following error when I try to download the signed document with the DigitalSignatureServiceSession:

(using version 1.2.3)

javax.xml.ws.soap.SOAPFaultException: org.apache.ws.security.WSSecurityException: The message has expired (WSSecurityEngine: Invalid timestamp The security semantics of the message have expired)
    at com.sun.xml.internal.ws.fault.SOAP12Fault.getProtocolException(SOAP12Fault.java:214)
    at com.sun.xml.internal.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:117)
    at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:108)
    at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:78)
    at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:135)
    at com.sun.proxy.$Proxy187.pendingRequest(Unknown Source)
    at be.e_contract.dssp.client.DigitalSignatureServiceClient.downloadSignedDocument(DigitalSignatureServiceClient.java:470)

Any idea what I can do about this?

fcorneli commented 9 years ago

Synchronize your machine clock with NTP and try again.

TimDMeyer commented 9 years ago

Fixed the issue.

fcorneli commented 9 years ago

https://github.com/e-Contract/dssp/commit/c7603f4544b4e48c6a89a7802311ab17111d6ae7