Quantcast
Channel: WCF, ASMX and other Web Services
Viewing all articles
Browse latest Browse all 555

only 1 service endpoint getting auto-added to client app

$
0
0

Hello - I've created a WCF service and I've defined 2 endpoints for the service in the service app:

<service name="RestService.RestServiceImpl" behaviorConfiguration="ServiceBehaviour">
     <endpoint name="webHttp" address="webHttp" binding="webHttpBinding" contract="RestService.IRestServiceImpl" behaviorConfiguration="web"></endpoint>
     <endpoint name="wsHttp" address="wsHttp" binding="wsHttpBinding" contract="RestService.IRestServiceImpl"></endpoint>
</service>

However, when I update my service reference in my console app only the endpoint named "wsHttp" gets added to the client section in the app.config of my console app. The endpoint named "webHttp" is not getting added. Is there a reason why the "webHttp" endpoint isn't getting automatically added to the client section of my app.config?


Viewing all articles
Browse latest Browse all 555

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>