DBA Data[Home] [Help]

PACKAGE: APPS.FND_HTTP

Source


1 PACKAGE fnd_http AUTHID CURRENT_USER AS
2 /* $Header: AFSCHTPS.pls 115.0 99/07/16 23:29:02 porting ship  $ */
3 
4 --Record of name,value pairs for ouput values
5 TYPE output_rec_type IS RECORD(name VARCHAR2(30),value VARCHAR2(240));
6 
7 --Table of output name,value pairs.
8 TYPE output_tab_type IS TABLE OF output_rec_type INDEX BY BINARY_INTEGER;
9 
10 --Table of encoded message strings
11 TYPE error_tab_type IS TABLE OF VARCHAR2(2000) INDEX BY BINARY_INTEGER;
12 
13 -- Makes a http request to a java servlet. Parses the returned HTML
14 -- page and stores the values in the OUT parameters.
15 -- p_result is the value returned from the java servlet.This is
16 -- usually true or false, but it may also be error codes.
17 -- If the java program had any other information to return, these are
18 -- returned as a PL/SQL table of name-value pairs.
19 -- If the call failed, then the errors from the error stack are
20 -- returned in a PL/SQL table of encoded messages.
21 -- The caller should call fnd_message.set_encoded and fnd_message.get
22 -- to get the entire translated message.
23 
24 PROCEDURE java_serv( p_url IN VARCHAR2,
25 		     p_result OUT VARCHAR2,
26 		     p_output_tab OUT output_tab_type,
27 		     p_encoded_errors_tab OUT error_tab_type);
28 END fnd_http;