I followed the MSDN example in how to create a custom webservice that integrates with sharepoint at
I'm able to successfully call the custom webservice it walks you through from internet explorer out of a sharepoint 2010 site using a URL such as
And, I'm able to successfully call the same custom webservice from internet explorer out of the same sharepoint 2010 server with the URL
In Visual Studio 2010 (running on the same hardware server as sharepoint 2010), I am able to bring up the same custom webservice in the add web reference using the advanced buttons of the add service reference dialog. But, when the custom webservice
is found, visual studio reports the following error:
The document at the url
http://vm-spproduction/sites/resource/_vti_bin/service.asmx was not recognized as a known document type.
The error message from each known type may help you fix the problem:
- Report from '
View Complete Post