I have an AJAX-enabled WCF service and everything works fine with the ajax endpoint. Now I want to add another wsHttpBinding endpoint that corresponds to another interface that is subset of the AJAX interface (i.e. I want only specific methods to be exposed in WSDL). I have a class that implements both interfaces but when I visit the service address MyService.svc?wsdl it contains metadata about both services. How can I configure WCF to do this? The service is hosted in a website application in IIS.
Maybe I don't really get the concept and a service corresponds to an interface so if I have 2 interfaces I have 2 services (i.e. 2 .svc files).