Closed klr8 closed 9 years ago
inResponseTo gets set by PendingRequestFactory.createPendingRequest. Via DigitalSignatureServiceSession we keep track of various security properties of a protocol run, one of which is the fact that the response message must match the request message by means of the inResponseTo value.
Okay. The problem was that I was serializing the DigitalSignatureServiceSession before calling createPendingRequest.
Why do you serialize DigitalSignatureServiceSession? Just push it in the HttpSession as attribute.
Because we're doing the DSS interaction from a stateless back-end system and serializing the session allows us to pass it onto the client application which does have HTTP sessions.
I keep getting the following error:
The reason seems to be that the DigitalSignatureServiceSession I get back from a call to DigitalSignatureServiceClient.uploadDocument contains a null "inResponseTo".
Where does this "inResponseTo" property get filled?
(using version 1.2.3)