Contract on your mex
endpoint should be IMetadataExchange
However, I am not sure why you need mex
endpoint as your service is REST based.
By setting helpEnabled="true"
in the endpoint behavior, the help page will be automatically enabled. You don't need to add another endpoint with "Help"
address. Please remove that endpoint.
Set the kind="webHttpEndpoint"
and behaviorConfiguration="RESTEndpointBehavior"
on the main endpoint where address=""
.
So it should look like this:
<service behaviorConfiguration="MyServiceBehaviors" name="GoalTracker.WcfRestService.Service1">
<endpoint address="" kind="webHttpEndpoint"
behaviorConfiguration="RESTEndpointBehavior"
contract="GoalTracker.WcfRestService.IService1" />
</service>