I have a WCF that is protected with a custom UserNamePasswordValidator. I need to access what will usually be available:
OperationContext.Current.RequestContext.RequestMessage.Headers.To
so i can parse the url. However, OperationContext.Current is null. Is there a way to get the message header without an OperationContext?
c # wcf
Mark boltuc
source share