When I click http://SPserver/sites/site1/_vti_bin/test.svc, I got the error message below.
Configuration binding extension 'system.serviceModel/bindings/BasicHttpBindingServiceMetadataExchangeEndpointAttribute' could not be found. Verify that this binding extension is properly registered in system.serviceModel/extensions/bindingExtensions and that it is spelled correctly.
From MSDN, we know that "BasicHttpBindingServiceMetadataExchangeEndpointAttribute, which instructs the SharePoint Foundation service factory to automatically create a metadata exchange endpoint for the service". Then why the server complains?
It turns out, we need to delete the "