I have:
Windows 2003
IIS 6.0
MOSS 2007 on SSL, i.e., https://<sharepoint site name>
VS 2005, .Net 2.0
Problem:
I have created a custom webservice to add items to a SharePoint list
from an InfoPath form. The webservice is in IIS as new website, i.e.
http://localhost:1010/WebService.asmx
Upon running the WebService it throws following error:
"System.IO.FileNotFoundException: The Web application at https://<SharePoint
List address> could not be found. Verify that you have typed the URL
correctly. If the URL should be serving existing content, the system
administrator may need to add a new request URL mapping to the
intended application."
To resolve this I have tried following:
1. SPSecurity.RunWithElevatedPrivilages
2. Added webservice address to Alternate Access Mappings in SharePoint
Central Admin
3. Used IP address of SharePoint site instead of fully qualified name
But still I am getting the same error