Share via


FormsService.AllowWebServiceProxy Method

Controls whether browser-enabled form templates 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 AllowWebServiceProxy ( _
    webApplicationUri As Uri, _
    enable As Boolean _
)
'Usage
Dim instance As FormsService
Dim webApplicationUri As Uri
Dim enable As Boolean

instance.AllowWebServiceProxy(webApplicationUri, _
    enable)
public void AllowWebServiceProxy(
    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. See SPWebApplication for more information.
  • enable
    Type: System.Boolean
    The boolean value which enables or disables the use of the proxy.

Remarks

Use the AllowUserFormWebServiceProxy method to allow InfoPath clients to use the proxy service. Default setting is false.

See Also

Reference

FormsService Class

FormsService Members

Microsoft.Office.InfoPath.Server.Administration Namespace