Hi, I want to implement SOAP routing scenario in which client will use client cert to sign and service cert to encrypt the message. Message is routed via Router(Implemented from SDK sample). I want to add custom tokens to message at Router and then route message to service. Service will use tokens that are added at Router for Authorization checks. Is that scenario possible and does anyone has sample?
The formatting's unfortunately a bit mangled but http://windowssdk.msdn.microsoft.com/en-us/library/aa355062.aspx should be what you're looking for.
Thanks for quick answer. Unfortunately I know for that sample. It does not help me because tokens are added at the client. I need scenario where the tokens are added at the Router. I need more concrete sample.
Is this possible to implement, can I get opinion from MS?
Can you explain about the design for the router? Is it a ServiceEndpoint? I am asking because in order to add a CustomToken, the router will need to crack the message and add a token. You original post defines a trust relationship between the client and service and I am not understanding how the router fits in. Can you point me to the sample?
If the router is a WCF client it can add a CustomToken to the message for the service as a SupportingTokn. You will need to be familiar with the CustomToken (http://windowssdk.msdn.microsoft.com/en-us/library/ms752249.aspx) and the SupportingToken (http://windowssdk.msdn.microsoft.com/en-us/library/ms751480.aspx) samples in the SDK.