can not browse WSDL for FBA enabled sharepoint site
1. I have enabled FBA for my sharepoint site. 2. But whenever I tried to add WSDL reference it is showing the below errror. But I am able to add reference if it is not FBA enabled. The document at the url http://blrkec107225d:12857/_vti_bin/lists.asmx?WSDL was not recognized as a known document type. The error message from each known type may help you fix the problem: - Report from 'XML Schema' is 'Root element is missing.'. - Report from 'DISCO Document' is 'Root element is missing.'. - Report from 'WSDL Document' is 'There is an error in XML document (0, 0).'. - Root element is missing. Metadata contains a reference that cannot be resolved: 'http://blrkec107225d:12857/_vti_bin/lists.asmx?WSDL'. The server did not provide a meaningful reply; this might be caused by a contract mismatch, a premature session shutdown or an internal server error. If the service is defined in the current solution, try building the solution and adding the service reference again. Can anyone help me on this.
October 29th, 2010 2:35am

Since FBA works on a cookie basis, you need to login to your FBA site in order to obtain the authentication cookie before trying to add the WSDL reference. When the site is AD based, it will automatically authenticate behind the scenes, but because FBA sends the requestor to a login form, this fails as you indicated. I trust that answers your question... Thanks C http://www.cjvandyk.com/blog
Free Windows Admin Tool Kit Click here and download it now
November 1st, 2010 9:25am

Well i am not sure about the architecture, but let me explain with scenario we have a public facing site which use lot of infopath form to capture data. The site is FBA secured on external side and its Windows Auth on internal. It still same site with two different authentication. Now while designing the InfoPath forms we use internal URL to connct to SharePoint Web Service and then publish it. What happens on external site (FBA) is user authenticated and then open this form which work without any issue as the form is processed on server side it uses internal url to get data and then display it on external web sites with FBA. I am not sure if you are trying toi use infopath or custom code. But this approach should even work in custom mode where your code connects to interanl URL with windows auth so that you can get to web services. Sameer Dhoot My Blog : http://sharemypoint.in/ Did I answer your question? If YES, Mark as Answer. If NO, reply with details to continue dialogue.
November 1st, 2010 11:36pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics