SharePoint 2007: .asmx was not recognized as a known document type.

I am interfacing with a SharePoint 2007 farm via web service. I tried adding the _vti_bin/webs.asmx as a service reference when the following error:

The document at the url http://blah.com/_vti_bin/webs.asmx was not recognized as a known document type.

Fortunately, there is a simple solution to the problem: add ?wsdl to the url and the problem is resolved.

Comments

Popular posts from this blog

SharePoint 2013: Error updating managed account credentials

Error deploying Nintex workflow: An item with the same key has already been added