I'm getting an error while adding the web service reference to the VS 2010, has anyone faced this issue before?
the document at the url was not recognized as a known document type. The error message from each known type may help you fix the problem: - Report from 'XML Schema' is 'The root element of a W3C XML Schema should be and its namespace should be 'http://www.w3.org/2001/XMLSchema'.'. - Report from 'DISCO Document' is 'Discovery document at the URL could not be found.'. - The document format is not recognized. - Report from 'WSDL Document' is 'There is an error in XML document (2, 55).'. - The string '' is not a valid Uri value. Metadata contains a reference that cannot be resolved: The content type text/html; charset=utf-8 of the response message does not match the content type of the binding (application/soap+xml; charset=utf-8). If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly.
Gajanan ChavhanPosted Jul 2, 2018, 9:00 AM
Below link might help you :
https://stackoverflow.com/questions/7405237/add-service-reference-failed