You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by Prasenjit Mukherjee <pr...@bea.com> on 2000/09/21 18:03:15 UTC

Information on Installing SOAP under WLS5.1

>Mailing-List: contact soap-dev-help@xml.apache.org; run by ezmlm
>X-No-Archive: yes
>Reply-To: soap-dev@xml.apache.org
>list-help: <ma...@xml.apache.org>
>list-unsubscribe: <ma...@xml.apache.org>
>list-post: <ma...@xml.apache.org>
>Delivered-To: mailing list soap-dev@xml.apache.org
>Sender: sgould@mt.fiberone.net
>Date:  Sun, 17 Sep 2000 15:50:21 -0500
>From: Steven Gould <st...@cgiusa.com>
>Organization: CGI (USA), Dallas, TX
>X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.13 i686)
>X-Accept-Language: en
>To: soap-dev@xml.apache.org
>Subject: Information on Installing SOAP under WLS
>X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N
>
>Attached is an HTML file describing how to install SOAP under WebLogic
>Server. This information was omitted from the SOAP documentation, but I
>felt that it might be useful to other users if included in the SOAP
>distribution (under docs/install), or on the xml.apache.org/soap web
>site. Feel free to edit or reformat the text as you see fit.
>
>Sincerely,
>
>Steven Gould
>
>
>
>
>
>Apache-SOAP Version 2.0: Installing the Server-Side Under WebLogic Server v5.1
>
>
>
>These instructions assume that you already have WebLogic Server installed, 
>and that you already have Xerces and SOAP installed, and that you just 
>want to use SOAP from within WebLogic Server.
>
>----------
>
>
>Under Windows
>
>
>
>If you run WebLogic Server from the Start menu then you will need to make 
>your environment changes using the Control Panel or however else you may 
>edit your CLASSPATH when using WebLogic Server. The following instructions 
>assume you are running WebLogic Server from the command line.
>    * In the WebLogic installation directory, edit setEnv.cmd. Somewhere 
> around line 68 of setEnv.cmd you should find a line that looks something 
> like this:
>    set 
> CLASSPATH=%JDK_CLASSES%%WL_HOME%\license;%WL_HOME%\classes;%WL_HOME%\lib\weblogicaux.jar;%CLIENT_CLASSES%;%SERVER_CLASSES%%RMIFORMS% 
>
>Insert immediately after the "=" (with no spaces) the full path to the 
>xerces.jar file, followed by a semi-colon, and the full path to the 
>soap.jar file. Additionally, you may want to add the path to the SOAP 
>installation directory if you plan on running any of the samples. You will 
>also want to have on the classpath any of your code that you want to 
>deploy as a service.
>
>This should result in a line of the form:
>
>set 
>CLASSPATH={Xerces-install-directory}\xerces.jar;{apache-soap-install-directory}\lib\soap.jar;D:\SOAP\apache-soap-2_0;%JDK_CLASSES%%WL_HOME%\license;%WL_HOME%\classes;%WL_HOME%\lib\weblogicaux.jar;%CLIENT_CLASSES%;%SERVER_CLASSES%%RMIFORMS% 
>
>    * Edit the startWebLogic.cmd file, and locate the line starting set 
> PRE_CLASSPATH. Add the full paths to the Xerces and SOAP JAR files. 
> Optionally, add the path to the SOAP installation directory if you plan 
> on running any of the samples. The line should look something like:
>    set 
> PRE_CLASSPATH={Xerces-install-directory}\xerces.jar;{apache-soap-install-directory}\lib\soap.jar;{apache-soap-install-directory} 
>
>    * Edit the CLASSPATH(s) in the startConsole.cmd file to add the Xerces 
> and SOAP JAR files in the same way.
>    * Edit the weblogic.properties file, and insert the following line:
> 
>weblogic.httpd.register.soap/servlet/rpcrouter=org.apache.soap.server.http.RPCRouterServlet 
>
>    * Copy the SOAP directory from the webapps sub-directory of the SOAP 
> installation into the public_html directory of your server (the default 
> is c:\weblogic\myserver\public_html though you may have changed it).
>Restart WebLogic Server. You should now be ready to go SOAP-ing!
>
>Hint: to test this setup, point your browser to http://localhost:7001/soap 
>(assuming you have enabled HTTP on port 7001).
>
>----------
>
>
>Under UNIX (any flavor)
>
>    * In the weblogic installation directory, edit setEnv.sh. There are 
> two places where the CLASSPATH variable is set (depending on whether you 
> are using Java1 or Java 2. Insert at the beginning of the CLASSPATH the 
> full path to the xerces.jar file, and the full path to the soap.jar file. 
> Additionally, you may want to add the path to the SOAP installation 
> directory if you plan on running any of the samples. You will also want 
> to have on the classpath any of your code that you want to deploy as a 
> service.
>    * Edit the startWebLogic.sh file, and locate the line starting 
> PRE_CLASSPATH=. Add the full paths to the Xerces and SOAP JAR files. 
> Optionally, add the path to the SOAP installation directory if you plan 
> on running any of the samples. The line should look something like:
> 
>PRE_CLASSPATH={Xerces-install-directory}/xerces.jar;{apache-soap-install-directory}/lib/soap.jar;{apache-soap-install-directory} 
>
>    * Edit the CLASSPATH(s) in the startConsole.sh file to add the Xerces 
> and SOAP JAR files in the same way.
>    * Edit the weblogic.properties file, and insert the following line:
> 
>weblogic.httpd.register.soap/servlet/rpcrouter=org.apache.soap.server.http.RPCRouterServlet 
>
>    * Copy the SOAP directory from the webapps sub-directory of the SOAP 
> installation into the public_html directory of your server.
>Restart WebLogic Server. You should now be ready to go SOAP-ing!
>
>To test this setup, point your browser to http://localhost:7001/soap 
>(assuming you have enabled HTTP on port 7001).
>
>----------
>Steven Gould