locked
SharePoint OOTB Web Services asmx to WSDL conversion not working RRS feed

  • Question

  • Hi,


    I have a problem accessing the web services?wsdl for SharePoint lists, sites etc.

    I can see the list of operations using the following URLS:

    http://test.com/_vti_bin/Lists.asmx - returns a list of operations for OOTB Service

    http://test.com/_vti_bin/sites.asmx - returns a list of operations for OOTB Service

    However, when I try to view WSDL document using the following URLs:

    http://test.com/_vti_bin/Lists.asmx?wsdl - returns a 404 error (not found)

    http://test.com/_vti_bin/sites.asmx?wsdl - returns a 404 error (not found)

    On the test enviroment, I can see the WSDL being returned but on the production it returns 404 errors as mentioned above.

    I'm also seeing this message in the logs:

    Error on page: http://test.com/_vti_bin/wswsdl.aspx?WSDL System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.IO.FileNotFoundException: There is no Web named "/test/Pages/_vti_bin/sites.asmx".

    It seems that asmx to wsdl coversion is not working well on production enviroment. Any ideas will be appreciated.

    I have also made sure to add "<protocols><add name="Documentation"/></protocols>" to the WebServices element of web.config of webservice.




    Wednesday, July 20, 2011 6:12 PM

Answers