How-To install SOAP Client Stack in Oracle Database

Pre-requisites

  • Oracle9i Database version 9.2 or later. You can download the Oracle9i database from the Oracle Technology Network.
  • Oracle9iAS Containers for J2EE (OC4J), 9.0.2 or later, available here.

Installation

The following instructions have been successfully tested against Oracle9i Database Release 2, which embeds a J2SE 1.3.x compatible OracleJVM; these instructions might work with previous releases of the database that embed a J2SE 1.2.x compatible OracleJVM as well. If you want to use the current Oracle SOAP classes (available in OC4J download), issue the following command:

loadjava -thin -user sys/<sys-passwd>@<host>:<port>:<SID> \
-resolve -synonym -verbose -grant public \
[OC4J_HOME]/soap/lib/soap.jar [OC4J_HOME]/lib/dms.jar \
[OC4J_HOME]/jlib/javax-ssl-1_1.jar \
[ORACLE_HOME]/lib/servlet.jar \
[OC4J_HOME]/jdk/jre/lib/ext/mail.jar

where,

  • [OC4J_HOME] - The directory where OC4J is installed. For example, if oc4j_extended.zip was unzipped to the C:\OC4J , then %OC4J_HOME% would be C:\OC4J.

  • [ORACLE_HOME] - The directory where the Oracle9i Client or Database software is installed

  • Note that we are loading the classes into the SYS schema. By using the -synonym and -grant public options, we are also making them available as well as executable from other schemas.

    Instead of Oracle SOAP, you might want to use JAX-RPC client. In this case, load the following JAR files from the JAX-RPC reference implementation instead:
    activation, commons-logging, dom, dom4j, jaxp-api, jaxrpc-api, jaxrpc-ri, mail, saaj-api, saaj-ri, and sax.


    Revision history: Dec 02, 2002

    Please enter your comments about this document in the OTN Sample Code Discussion Forum.

    E-mail this page
    Printer View Printer View
    Oracle Is The Information Company About Oracle | Oracle RSS Feeds | Careers | Contact Us | Site Maps | Legal Notices | Terms of Use | Privacy