|Scenario/Problem:||You need to enable the use of the InfoPath Form Services Web Service Proxy.|
|Solution:||Enable the proxy settings on the Configure InfoPath Form Services Web Service Proxy page.|
The InfoPath Form Services web services proxy can be used to access web services without passing the credentials of the form user. A set of credentials for the web service need to be stored within SharePoint’s Secure Store service (SSS), which is the replacement for Single Sign-On (SSO).
A data connection file that your InfoPath form is using as a web service connection simply needs to be modified by adding a UseFormsServiceProxy attribute with a setting of “true” along with an Authentication element that references the Secure Store application ID. If the UseFormsServiceProxy already exists, make sure the value is set to “true”.
Listing 1. UseFormsServiceProxy Attribute
Listing 2. Authentication Element
<udc:Authentication> <udc:SSO AppId="<<AppID>>" CredentialType="<<credential type>>"/> </udc:Authentication>
The possible credential types are as follows:
To enable the use of the web proxy, from Central Administration, General Application Settings, click the Configure InfoPath Form Services Web Service Proxy link under the InfoPath Form Services section. Enable the proxy settings, as shown in Figure 1.