Hello
I am stuck with errror message below from ULS. (SharePoint Secure Store get rid of credential issues)
The following query failed: UARegisterTopSchema (User: xxx\UserName, Form Name: UserAccessRequest, IP: , Connection Target: http://team.xxx.internal/ba/wsudc/RegisterTopSchema.udcx, Request: http://team.xxx.internal/ba/_layouts/FormServer.aspx?XsnLocation=http://team.xxx.internal/FormServerTemplates/UserAccessRequest.xsn&SaveLocation=http://team.xxx.internal/ba/TopSchema&ClientInstalled=true&Source=http://team.xxx.internal/ba/TopSchema/Forms/AllItems.aspx&DefaultItemOpen=1#, Form ID: urn:schemas-microsoft-com:office:infopath:UserAccessRequest:-myXSD-2011-09-12T13-19-44 Type: DataAdapterException, Exception Message: Internal error. Internal error.)
Above error message comes from a particular InfoPath 2010 schema making both custom and SharePoint OOTB web service calls. Schema does also use People and Group picker / contact control.
It seems that everything started once I disabled Anonymus Authentication in IIS in order to get SP GetUserProfileByName.asmx OOTB web service schema call working.
I did latter because GetUserProfileByName expects it but also security in general.
Then I proceeded with configuring SharePoint Secure Store and updating UDC like below. The schema described above gets presented but web service calls end in error messasge shown above.
<?xml version="1.0" encoding="UTF-8"?>
<?MicrosoftWindowsSharePointServices ContentTypeID="0x010100B4CBD48E029A4ad8C62CB0EE1868F2B0"?>
<udc:DataSource MajorVersion="2" MinorVersion="0" xmlns:udc="http://schemas.microsoft.com/office/infopath/2006/udc">
<udc:Name>UARegisterTopSchema</udc:Name>
<udc:Description>Format: UDC V2; Connection Type: WebService; Purpose: ReadOnly; Generated by Microsoft InfoPath 2010 on 2011-09-29 at 16:11:42 by JFG\Administrator.</udc:Description>
<udc:Type MajorVersion="2" MinorVersion="0" Type="WebService">
<udc:SubType MajorVersion="0" MinorVersion="0" Type=""/>
</udc:Type>
<udc:ConnectionInfo Purpose="ReadOnly" AltDataSource="">
<udc:WsdlUrl>http://team.xxx.internal/ba/_vti_bin/XXX.UserAccess/UserAccessService.svc?WSDL</udc:WsdlUrl>
<udc:SelectCommand>
<udc:ListId/>
<udc:WebUrl/>
<udc:ConnectionString/>
<udc:ServiceUrl UseFormsServiceProxy="true">http://team.xxx.internal/ba/_vti_bin/Xxx.UserAccess/UserAccessService.svc</udc:ServiceUrl>
<udc:SoapAction>http://www.xxx.org/Services/UserAccess/2011/09/IUserAccessService/RegisterTopSchema</udc:SoapAction>
<udc:Query/>
</udc:SelectCommand>
<udc:UpdateCommand>
<udc:ServiceUrl UseFormsServiceProxy="true"/>
<udc:SoapAction/>
<udc:Submit/>
<udc:FileName>Specify a filename or formula</udc:FileName>
<udc:FolderName AllowOverwrite=""/>
</udc:UpdateCommand>
<udc:Authentication>
<udc:SSO AppId='xxxUserAccess' CredentialType='NTLM' />
</udc:Authentication>
</udc:ConnectionInfo>
</udc:DataSource>