I'm trying to create a new project with asp.net. I must connect our web service (made in c#) with my new project. I went to "connect services" -> "right click" -> manage connected services and I went to add WCF web service. There, I ran the project where is located the web service. Then, I added the URL provided to my web browser and I clicked "Go".
The error 400 appear each time as you can see in my screenShot.
And in my new project I have this error:
An error occurred while attempting to find services at 'http://localhost/Services/BlueLifeDataService.svc'. Cannot obtain Metadata from the URI: http://localhost/Services/BlueLifeDataService.svc
Check the URI and try again.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.
when I want to connect the web service using my web browser everything works fine. I can call all the query. But not in this situation.
Can you help me please?