FormsService.AllowWebServiceProxy(Uri, Boolean) FormsService.AllowWebServiceProxy(Uri, Boolean) FormsService.AllowWebServiceProxy(Uri, Boolean) FormsService.AllowWebServiceProxy(Uri, Boolean) Method

Definition

Controls whether browser-enabled form templates can use the InfoPath Forms Services Web service proxy to connect to a Web service.

public:
 void AllowWebServiceProxy(Uri ^ webApplicationUri, bool enable);
public void AllowWebServiceProxy (Uri webApplicationUri, bool enable);
member this.AllowWebServiceProxy : Uri * bool -> unit
Public Sub AllowWebServiceProxy (webApplicationUri As Uri, enable As Boolean)

Parameters

webApplicationUri
Uri Uri Uri 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
Boolean Boolean Boolean Boolean

The boolean value which enables or disables the use of the proxy.

Remarks

Use the AllowUserFormWebServiceProxy(Uri, Boolean) method to allow InfoPath clients to use the proxy service. Default setting is false.

Applies to