Enable the Web Service Proxy

Scenario/Problem: You need to enable the use of the InfoPath Form Services web service proxy.

Solution: Use the Set-SPInfoPathWebServiceProxy cmdlet.

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 needs to be stored within SharePoint’s Secure Store Service (SSS), which is the replacement for Single Sign-On (SSO).

You need to modify a data connection file that your InfoPath form is using as a web service connection by adding a UseFormsServiceProxy attribute with a setting of true (see Listing 12.7), along with an Authentication element that references the Secure Store application ID (see ...

Get PowerShell™ for SharePoint® 2013 How-To now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.