I do not know how to return a PL/SQL table but what we have done is to put the PL/SQL table data into a cursor and return the Oracle cursor from a stored procedure. There are a few steps that are required to get the information into the cursor:
create type record_type as object (
field1 varchar(30) );
create type table_type is table of record_type;
type ref_cursor is ref cursor;
table_table table_type;
–fill table
–8.0.6 syntax
–(I do not know if this will also work in 8.1.7)
open ref_cursor for
select
field1
from the(select
(cast (table_table as table_type))
from dual);
–8.1.7 syntax (I believe)
open ref_cursor for
select
field1
from table(cast(table_table as table_type));
#Integration-Server-and-ESB#webMethods#Adapters-and-E-Standards