I need to provide a service to a third-party that will be sending soap messages with a signed Timestamp.
How can I configure my service to support this?
You can do this with message contracts, see: http://msdn.microsoft.com/en-us/library/ms730255.aspx
Here is an example from the above link:
[MessageContract]
public class PatientRecord
{
[MessageHeader(ProtectionLevel=None)] public int recordID;
[MessageHeader(ProtectionLevel=Sign)] public string patientName;
[MessageHeader(ProtectionLevel=EncryptAndSign)] public string SSN;
[MessageBodyMember(ProtectionLevel=None)] public string comments;
[MessageBodyMember(ProtectionLevel=Sign)] public string diagnosis;
[MessageBodyMember(ProtectionLevel=EncryptAndSign)] public string medicalHistory;
}
Note the protection levels None, Sign, EncryptAndSign