When I am trying to create a client of the service, I am getting following error when i run svcutil.
Microsoft (R) Service Model Metadata Tool
[Microsoft (R) Windows (R) Communication Foundation, Version 3.0.4506.30]
Copyright (c) Microsoft Corporation. All rights reserved.
Attempting to download metadata from 'http://dev.services.abc.com/ConfigurationService.svc'
using WS-Metadata Exchange or DISCO.
Error: Cannot obtain Metadata from http://dev.services.abc.com/ConfigurationService.svcIf
this is a Windows (R) Communication Foundation service to which you have access, please check that you have enabled m
etadata 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
Metadata contains a reference that cannot be resolved: 'http://dev.abc.smartypig.com/ConfigurationService.svc'
Content Type application/soap+xml; charset=utf-8 was not supported by service http://dev.services.abc.com/ConfigurationService.svc
. The client and service bindings may be mismatched.
The remote server returned an error: (415) Cannot process the message because the content type 'application/soap+xml; charset=utf-8' was not the expected type 'text/xml; charset=utf-8'..
HTTP GET Error
The HTML document does not contain Web service discovery information.
If you would like more help, type "svcutil /?"
I tried bringing only the service http://dev.services.abc.comConfigurationService.svc
but it is not giving any error.