Reputation: 53
I'm trying to process a response message form the server which is adding only a timestamp element to the security header. In order to interop I'm creating a WCF service which behaves like the production server, and I want to have such security header only. I was able to configure everything except the Timestamp, it adds a signature including the timestamp element (but I don't want that).
What is the binging configuration that adds only a Timestamp element to the header? Is this possible?
What happens if WCF receives a message with a Security header with a Timestamp element only? It will process such message if the EnableUnsecuredResponse is set to true?
Thanks in advance.
Upvotes: 1
Views: 910
Reputation: 24426
Not sure there is such binding. Timestamp is pretty straight forward so I suggest you drop any security configuration and use custom message inspector to generate the timestamp and push it to the message by yourself.
Upvotes: 2