I am adding a WCF custom header with the following code
MessageHeader header = MessageHeader.CreateHeader("Key", "ns", "Value");
OperationContext.Current.OutgoingMessageHeaders.Add(header);
With this I also want to add
xmlns:wsa="http://www.w3.org/2005/08/addressing"
wsa:IsReferenceParameter="1"
as an attribute to this Message header.
Is there any way to add above namespace and attribute to the message header?