-- IBM Confidential
-- OCO Source Materials
-- 5724-I68.
-- (C) Copyright IBM Corp. 2000, 2004 - All Rights Reserved.
-- US Government Users Restricted Rights - Use, duplication or disclosure 
-- restricted by GSA ADP Schedule Contract with IBM Corp. 
-- This file is generated by GenSchema!! DO NOT EDIT!!!
-- This file is generated by GenSchema!! DO NOT EDIT!!!


-- ===================================================================
--
-- Table twbs_wbs_webservice
--
-- Represents a web service.
-- ===================================================================

drop table twbs_wbs_webservice cascade constraints;
create table twbs_wbs_webservice
( 
    wbs_id                        number(9, 0) not null,
    wbs_cmp_id                    number(9, 0),
    wbs_name                      varchar2(100) not null,
    wbs_implclass                 varchar2(2000),
    wbs_desc                      varchar2(2000),
    wbs_url                       varchar2(2000),
    wbs_wsdl_url                  varchar2(2000),
    wbs_wsdl_doc_path             varchar2(100),
    wbs_wsdd_doc_path             varchar2(100),
    wbs_protocol                  varchar2(50),
    wbs_style                     varchar2(50),
    wbs_impl_script_path          varchar2(2000),
    wbs_store_incoming            char,
    wbs_store_outgoing            char,
    wbs_deployed                  char,
    wbs_auth_required             char,
    constraint wbs_0_pk
        primary key (wbs_id),
    constraint wbs_1_uk
        unique (wbs_name)
) 
tablespace users;


drop synonym wbs;
create synonym wbs for twbs_wbs_webservice;

drop sequence qwbs_wbs_id;
create sequence qwbs_wbs_id start with 1 increment by 200 nocache;

-- ===================================================================
--
-- Table twbs_wtr_transaction
--
-- Represents a web service transaction
-- ===================================================================

drop table twbs_wtr_transaction cascade constraints;
create table twbs_wtr_transaction
( 
    wtr_id                        number(9, 0) not null,
    wtr_wbs_id                    number(9, 0),
    wtr_cmp_id                    number(9, 0),
    wtr_incoming_path             varchar2(2000),
    wtr_outgoing_path             varchar2(2000),
    wtr_arrival_time              date,
    constraint wtr_0_pk
        primary key (wtr_id)
) 
tablespace users;


drop synonym wtr;
create synonym wtr for twbs_wtr_transaction;

drop sequence qwbs_wtr_id;
create sequence qwbs_wtr_id start with 1 increment by 200 nocache;




