SharePoint OOTB Web Services asmx to WSDL conversion not working -
i have problem accessing web services?wsdl sharepoint lists, sites etc.
i can see list of operations using following urls:
http://test.com/_vti_bin/lists.asmx - returns list of operations ootb service
http://test.com/_vti_bin/sites.asmx - returns list of operations ootb service
however, when try view wsdl document using following urls:
http://test.com/_vti_bin/lists.asmx?wsdl - returns 404 error
http://test.com/_vti_bin/sites.asmx?wsdl - returns 404 error
on test enviroment, can see wsdl being returned on production returns 404 errors mentioned above.
i'm seeing message in logs:
error on page: http://test.com/_vti_bin/wswsdl.aspx?wsdl system.web.httpunhandledexception: exception of type 'system.web.httpunhandledexception' thrown. ---> system.io.filenotfoundexception: there no web named "/careers/pages/_vti_bin/sites.asmx".
it seems asmx wsdl coversion not working on production enviroment. ideas appreciated.
i have made sure add "<protocols><add name="documentation"/></protocols>"
webservices element of web.config of webservice.
could possible in production environment web.config configured remove documentation protocol instead of adding it?
Comments
Post a Comment