Add a
[RoutePrefix("api/ServiceA")] attribute to the controller. Without that, somehow, the valid URI will be http://localhost:2280/isbn instead of http://localhost:2080/api/ServiceA/isbn
[RoutePrefix("api/ServiceA")]
public class ServiceAController : ApiController
I got the same error without the RoutePrefix attributes
<Error>
<Message>No HTTP resource was found that matches the request URI 'http://localhost:47503/api/ServiceA/2'.</Message>
<MessageDetail>No action was found on the controller 'ServiceA' that matches the request.</MessageDetail>
</Error>