I try to catch all message send to my WCF public service.
I use WCF service extension and actually all end point are under control.
But when I try to get the wsdl like this :
http://localhost/MyProject.MyPublicService/Service/PublicService.svc?singlewsdl
or
http://localhost/MyProject.MyPublicService/Service/PublicService.svc?wsdl
I don't trigger AfterReceiveRequest... and this annoying me a lot.
Does someone know how to enter into AfterReceiveRequest when triggering the ?wsdl?
I created a class inherited from IServiceBehavior and Attribute
Decorate the public service with the attribute.
Loop across all the channelDispatcher and for all endpoint for adding a MessageInspector.
My own opinion is what endpoint don't catch the request of the ?wsdl...
But I really don't know how to do that...
If somebody have a clue I really appreciate.
David