Oracle9iAS Portal Developer Kit

get_proxy function

Contained in package wwctx_api_proxy.

Call this function to return information about the proxy like the host name, port number and default proxy, given a proxy ID.

function get_proxy

(

p_proxy_id in varchar2

)

return proxy_info;

Version: Oracle9iAS Portal 9.0.2 or later

Parameters:

p_proxy_id

The ID of the proxy required.

Datatype: varchar2

Returns:

This function returns a proxy_info record, containing information about the requested proxy.

Exceptions:

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

  • If an unknown error occurs, PROXY_GENERAL_EXCEPTION is raised.

Example:

l_proxy_info wwctx_api_proxy.proxy_info;

l_proxy_info := wwctx_api_proxy.get_proxy
(

p_proxy_id => '8834567897456aaaaa45678898989456'

);

Related topics

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