Sharepoint Forum

 
Home » Forum » Sharepoint       Ask a questionRSS Feeds

SharePoint on SSL issues with custom webservice

  Asked By: Keith Ward         Date: Jan 31, 2009      Category: Sharepoint      Views: 323
 

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

Tagged:              

 

2 Answers Found

 
Answer #1       Answered By: Brinda Bca          Answered On: Jan 31, 2009       

1)Create a virtual directory under ur sharepoint  site web application
2)Map ur webservice  path
3)use this webservice url in infopath

 
Answer #2       Answered By: Sheryl Velez          Answered On: Jan 31, 2009       

Thanks for ur reply, but i m still getting the same error message. As before, when I invoke the method it throws:
"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."
Even though I placed the web service in a virtual directory within SharePoint in IIS.
Any further suggestions welcomed.

 
Didn't find what you were looking for? Find more on SharePoint on SSL issues with custom webservice Or get search suggestion and latest updates.


Your Answer
  • Answer should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].