wcf service is not running in Test Client

Mayur  Gujrathi

Mayur Gujrathi

Jul 8 2013 5:45 AM
My wcf service is not running in Test Client but running through browser and also when i am fetching through jquery

What might be problem

Failed to add a service. Service metadata may not be accessible. Make sure your service is running and exposing metadata.

Error: Cannot obtain Metadata from http://localhost:59160/Service1.svc If this is a Windows (R) Communication Foundation service to which you have access, please check that you have enabled metadata publishing at the specified address.  For help enabling metadata publishing, please refer to the MSDN documentation at http://go.microsoft.com/fwlink/?LinkId=65455.WS-Metadata Exchange Error    URI: http://localhost:59160/Service1.svc    Metadata contains a reference that cannot be resolved: 'http://localhost:59160/Service1.svc'.    There was no endpoint listening at http://localhost:59160/Service1.svc that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.    The remote server returned an error: (404) Not Found.HTTP GET Error    URI: http://localhost:59160/Service1.svc    The HTML document does not contain Web service discovery information.

Answers (2)