Reputation: 25
Im trying to write my own WCF-Protocol-Channel with no specific functionality.
To this channel, I want to add some behaviors to lookup the SOAP-Message before processed by the webservice and after processing through the webservice.
But I cannot find any hint how to add a custom channel to a default-binding like basicHttpBinding or something else.
Background is, that I want to specify the order of processing the behaviors in the channelstack. Or to react to a SOAP-Message as soon as possible, if a damage was detected.
Thanks for replying
Upvotes: 0
Views: 436
Reputation: 24406
you can only configure the channels order in a custom binding. regardless if you are in a situation that you need to control behaviors order this may hint on some complexity. consider if message inspectors are not enough for you.
Upvotes: 1