DCSIMG
InfoPath 2010 - Access denied calling web service for user when calling UserProfileService.asmx - Dudi Nissan's Blog

Dudi Nissan's Blog

SharePoint, MOSS, Silverlight, ASP .Net, .Net, SQL Server, Reporting Services, JQuery, AJAX

Links

SharePoint 2010 Custom Fields

InfoPath 2010 - Access denied calling web service for user when calling UserProfileService.asmx

נתקלתי בהודעת שגיאה Access denied calling web service for user בקריאה ל-Web Service בשם UserProfileService.asmx של SharePoint 2010 בטופס InfoPath 2010.
לא קיימת בעיית גישה באמצעות הדפדפן ל-Web Service בכתובת לדוגמא: http://server_name/_vti_bin/UserProfileService.asmx?WSDL

הפתרון
זו לא בעיה כלל, אלא הגדרה לא נכונה ב-InfoPath 2010 במקרה המסויים הבא:
האתר בנוי מ-Site Collection, לכן ב-InfoPath 2010, דרוש לכלול בכתובת ה-Web Service את ה-Site Collection.
לדוגמא: http://server_name/sites/SiteCollectionA/_vti_bin/UserProfileService.asmx?WSDL

פורסם: Jun 06 2011, 02:56 PM by dudin | with no comments
שלח תגובה

(שדה חובה)  

(שדה חובה)  

(אופציונלי)

(שדה חובה) 

Please add 3 and 3 and type the answer here:


Enter the numbers above: