I have a web application for my website and I included a web services there.
From a separate windows application I am calling that web service..
I have no issue calling the web service on the browse and I am getting the description but when using the Add Service Reference from my windows application project I am getting this error.. why?
The document at the url http://localhost:62169/websrv/app_reg.asmx was not recognized as a known document type.
The error message from each known type may help you fix the problem:
- Report from 'DISCO Document' is 'Discovery document at the URL http://localhost:62169/websrv/app_reg.asmx could not be found.'.
- The document format is not recognized (the content type is 'application/xhtml+xml; charset=utf-8').
- Report from 'WSDL Document' is 'There is an error in XML document (3, 2).
View Complete Post