1
votes

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

1

1 Answers

0
votes

What defines your base address of /here ? Do you have a <host> section with <baseAddress> entries in it?

What do you mean by "still available" from the original address? Requests going there still return valid results?? Have you reset IIS after this config change??