Unable to Add Web Reference in VS - not recognized?  
Author Message
ueoctudorprice





PostPosted: ASMX Web Services and XML Serialization, Unable to Add Web Reference in VS - not recognized? Top

Hi,

I'm in VS2005 and trying to add a web reference to a web service (developed in VS 2003 and has worked effectively on our site for 2+ years) and now suddenly get an error message:

The document at the url http://www.hide-link.com/ 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://www.hide-link.com/ could not be found.'.
- The document format is not recognized.
- Report from 'WSDL Document' is 'The document format is not recognized (the content type is 'text/html; charset=utf-8').'.
- Report from ' http://www.hide-link.com/ ' is 'The document format is not recognized (the content type is 'text/html; charset=utf-8').'.
- Report from 'XML Schema' is 'The document format is not recognized (the content type is 'text/html; charset=utf-8').'.

In a browser, when I go to the URLs:

http://www.hide-link.com/

http://www.hide-link.com/

I just get a text/html response back...

Anyone know what is going on here




.NET Development16  
 
 
Alex DeJarnatt - MSFT





PostPosted: ASMX Web Services and XML Serialization, Unable to Add Web Reference in VS - not recognized? Top

Is the text/html response an error message or does it contain the WSDL and disco information (xml)

thanks

Alex