Oracle9iAS Portal Developer Kit

set_default_proxy procedure

Contained in package wwctx_api_proxy.

Call this procedure to set a proxy to be the default proxy.

The default proxy is used for all non-provider HTTP connections made by Portal. Administrators can choose one proxy as the default proxy.

Note: The existing default proxy is updated such that it is no longer the default proxy, i.e. the current default setting is overwritten.

procedure set_default_proxy

(

p_proxy_id in varchar2

);

Version: Oracle9iAS Portal 9.0.2 or later

Parameters:

p_proxy_id

The ID of the new, default proxy.

Datatype: varchar2

Exceptions:

  • If the proxy is not found, PROXY_NOT_FOUND_EXCEPTION is raised.

  • When security privileges are violated, wwsec_api.ACCESS_DENIED_EXCEPTION is raised.

  • If an unknown error occurs, PROXY_GENERAL_EXCEPTION is raised.

Example:

wwctx_api_proxy.set_default_proxy
(

p_proxy_id => '83456ABCD09783465384'

);

Related topics

The PL/SQL API Reference is part of the Portal Developer Kit on Portal Studio