Tuesday, 13 May 2014

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.

No comments:

Post a comment