Click here to Skip to main content
15,887,027 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
 <services>
      <service name="WCF_Prac1.Service1" behaviorConfiguration="WCF_Prac1.Service1">
        <endpoint name="Addition"  contract="WCF_Prac1.Interfaces.IAddition" binding="basicHttpBinding"> </endpoint>       
<pre><endpoint name="Substraction"  contract="WCF_Prac1.Interfaces.ISubstraction" binding="basicHttpBinding"> </endpoint>       




What I have tried:

1 endpoint works fine but when i try to add 2 endpoints it throws error.
Posted
Updated 30-Jun-17 1:51am

1 solution

The XML looks not only somehow fishy, but multiple endpoints are done somehow in another manner.

Take a look at this Microsoft example to understand it.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900