Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error in first walkthrough - web services

Status
Not open for further replies.

christheprogrammer

Programmer
Jul 10, 2000
258
CA
Hi all, I am new to Visual Studio.NET and am just going thru the walkthoughs book that came with the upgrade version. I was doing fine until trying to 'Add Web Reference' (on page 31 if you have the book). There is an error appearing everytime I try it, here it is:

[BEGINNING OF ERROR TEXT]
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 'WSDL Document' is 'There is an error in XML document (2, 2).'.
- <dynamicDiscovery xmlns='urn:schemas-dynamicdiscovery:disco.2000-03-17'> was not expected.
- Report from 'DISCO Document' is 'Discovery document at the URL could not be found.'.
- The document format is not recognized.
- Report from 'XML Schema' is 'Expected Schema root. Make sure that the root element is <schema> and the namespace is ' for an XSD schema or 'urn:schemas-microsoft-com:xml-data' for an XDR schema. An error occurred at (2, 2).'.
[END OF ERROR TEXT]

The XML referenced above is:

[BEGINNING OF XML]
<?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?>
- <dynamicDiscovery xmlns=&quot;urn:schemas-dynamicdiscovery:disco.2000-03-17&quot;>
<exclude path=&quot;_vti_cnf&quot; />
<exclude path=&quot;_vti_pvt&quot; />
<exclude path=&quot;_vti_log&quot; />
<exclude path=&quot;_vti_script&quot; />
<exclude path=&quot;_vti_txt&quot; />
<exclude path=&quot;Web References&quot; />
</dynamicDiscovery>
[END OF XML]

This is one of those errors I _Know_ someone has seen before. I'd really appreciate any response, no matter how little significance you think it has.... Also what is the difference between XSD and XDR Schemas?

Thanks a bunch in advance,

Chris Chris
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top