Oracle9iAS Portal Developer Kit

edit_proxy procedure

Contained in package wwctx_api_proxy.

Call this procedure to edit properties of a proxy setting in Oracle Portal. If specified, the port number of the proxy must be a valid integer. If not specified, it defaults to a value of 80.

Note: Only Portal Administrators can execute this procedure.

procedure edit_proxy

(

p_proxy in proxy_record

);

Version: Oracle9iAS Portal 9.0.2 or later

Parameters:

p_proxy

The proxy record containing details about the proxy.

Datatype: proxy_record

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:

l_proxy_record wwctx_api_proxy.proxy_record;

l_proxy_record.id := '8834567897456aaaaa45678898989456';
l_proxy_record.host_name := 'host.domain.com'; l_proxy_record.port_number := 5000;

wwctx_api_proxy.edit_proxy(l_proxy_record);

Related topics

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