The following error occurred using the rest Web service in InfoPath:
XML data is required for the this form to function correctly cannot be found.
Solution:
Specify host names (Preferred method if NTLM authentication is desired)
To specify the host names that is mapped to the loopback address and can connect to WEB sites on your computer, follow th ESE steps:
- Set Thedisablestrictnamecheckingregistry entry to 1. For more information on how to does this, click the following article number to view the article in the Microsoft knowled GE base:281308 connecting to SMB Share on a Windows 2000-based computer or a Windows Server 2003-based computer * not wo RK with an alias name
- Click Start, click Run, type regedit, and then click OK.
- In Registry Editor, locate and then click the following Registry Key:hkey_local_machine\system\currentcontrolset\control \lsa\msv1_0
- Right-click Msv1_0, point to New, and then click multi-string Value.
- Type BackConnectionHostNames, and then press ENTER.
- Right-click BackConnectionHostNames, and then click Modify.
- In the Value data box, type the host name or the host names for the sites that is on the local computer, and the n ClickOK.
- Quit Registry Editor, and then restart the IISAdmin service.
MSDN explains that you need:
Set-spinfopathformsservice-allowudcauthenticationfordataconnections $true- Allowuserformcrossdomaindataconnections $true
Set-spinfopathformsservice-allowudcauthenticationfordataconnections $true- Allowuserformcrossdomaindataconnections $true
which
<BrowserEnablingSetting> is a Boolean value that specifies whether users are allowed to publish browser-enabled form templates. If true, allows the user to publish browser-enabled form templates, otherwise False.
<BrowserRenderingSetting> is a Boolean value that specifies whether browser-enabled user form templates are allowed to be rendered in a Web browser. trueto allow browser-enabled user form templates to be rendered, otherwise False.
Reference Link: http://technet.microsoft.com/zh-cn/library/cc262263.aspx
Error in InfoPath link rest Web Service