16 years ago
signature on Timestamp in Security header
Hello, I hope that somebody can help me out to get this working.
I have the following problem:
My service provider reuires me to add a timestamp and to use WSSE to sign the timestamp. The timestamp is part of the Security header. I believe I did all the required preparations: create and store keystore, create a WS-Security configuration, add a signature and a timestamp.
Then if I run the request I receive a response faultstring 'Timestamp must be signed'. So I tried in different ways to add the timestamp as a part to the outgoing wsse configuration: added the name and/or id timestamp, added the name and/or id of the header, added it with and without the namespace and with and without the encode, and specified namespace as prefix and the complete string. But if I add a part in any way as described, the whole Security header has disappeared from the request and the error log shows 'element to encrypt/sign not found'.
Can somebody give me suggestions how I shoud accomplish the signing of the timestamp in the Security header with SOAPUI?
By the way: I use 3.0.1. Attached are the logs.
I have the following problem:
My service provider reuires me to add a timestamp and to use WSSE to sign the timestamp. The timestamp is part of the Security header. I believe I did all the required preparations: create and store keystore, create a WS-Security configuration, add a signature and a timestamp.
Then if I run the request I receive a response faultstring 'Timestamp must be signed'. So I tried in different ways to add the timestamp as a part to the outgoing wsse configuration: added the name and/or id timestamp, added the name and/or id of the header, added it with and without the namespace and with and without the encode, and specified namespace as prefix and the complete string. But if I add a part in any way as described, the whole Security header has disappeared from the request and the error log shows 'element to encrypt/sign not found'.
Can somebody give me suggestions how I shoud accomplish the signing of the timestamp in the Security header with SOAPUI?
By the way: I use 3.0.1. Attached are the logs.