WCF service with both REST and SOAP interface giving error in Endpoints
|September 19, 2014||Posted by forumadmin under TechQns||
I have configured a WCF with both SOAP and RESt endpoints . but it is giving the below error:
Error: “A binding instance has already been associated to listen URI ‘http:///LoginService.svc’. If two endpoints want to share the same ListenUri, they must also share the same binding object instance. The two conflicting endpoints were either specified in AddServiceEndpoint() calls, in a config file, or a combination of AddServiceEndpoint() and config.”
I have created separate interfaces for REST and SOAP. but still getting this error. Please guide.
|Asked By – Gurinder||Read Answers|