I implemented IDispatchMessageInspector and in method AfterReceiveRequest I can receive name of method (action) that calling from client like this request.Headers.Action. Can I found name of service that where this method was implemented? For example I have service Test and two methods Start and Stop and request.Headers.Action for this method like this request.Headers.Action “http://bla.my.com/Start” and “http://bla.my.com/Start” How Can I found name Test and possible this or impossible?
I implemented IDispatchMessageInspector and in method AfterReceiveRequest I can receive name of method (action)
Share
I found suggestion:
instanceContext.GetServiceInstance()returns name of service where implemented invoked method.