Quantcast
Channel: WCF endpoint address, default still available after specifying an address - Stack Overflow
Viewing all articles
Browse latest Browse all 2

WCF endpoint address, default still available after specifying an address

$
0
0

These are my endpoints


endpoint name="rest" address="" binding="webHttpBinding" behaviorConfiguration="poxBehavior" contract="IActionService"

endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"


which makes the service available at /here

when I change the address to [say] 'rest'


endpoint name="rest" address="rest" binding="webHttpBinding" behaviorConfiguration="poxBehavior" contract="IActionService"endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"


the service is then available at /rest/here.

which makes sense, but it is also available from the original address of /here

I thought that the original address would not exist as I have set the address to 'rest'.

What am I doing wrong or misunderstanding?

Cheers


Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images

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