FormsService.AllowUserFormWebServiceProxy Method
Controls whether a form opened in the InfoPath client can use the InfoPath Forms Services Web service proxy to connect to a Web service.
Namespace: Microsoft.Office.InfoPath.Server.Administration
Assembly: Microsoft.Office.InfoPath.Server (in Microsoft.Office.InfoPath.Server.dll)
Syntax
'Declaration
Public Sub AllowUserFormWebServiceProxy ( _
webApplicationUri As Uri, _
enable As Boolean _
)
'Usage
Dim instance As FormsService
Dim webApplicationUri As Uri
Dim enable As Boolean
instance.AllowUserFormWebServiceProxy(webApplicationUri, _
enable)
public void AllowUserFormWebServiceProxy(
Uri webApplicationUri,
bool enable
)
Parameters
- webApplicationUri
Type: System.Uri
The Uniform Resource Indicator (URI) of the SharePoint Web application associated with the Web service proxy, and located between the farm, but above the site collection level. For more information, see SPWebApplication.
- enable
Type: System.Boolean
The boolean value which enables or disables the use of the proxy.
Remarks
Use the AllowWebServiceProxy method to allow browser-enabled form templates to use the proxy service. Default setting is false.