You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@xml.apache.org by "MILLER,MARK M (HP-Corvallis,ex1)" <ma...@hp.com> on 2000/10/18 02:23:26 UTC

SOAP RPCRouterServlet on WebLogic 5.10 and HPUX

Has anyone been able to get the RPCRouterServlet running on HPUX 11.0, JDK
1.2.2, WebLogic 5.10 SP6, SOAP 2.0, and Xerces 1.2?  I just can't get rid of the
following error:

java.lang.NoSuchMethodError: org.w3c.dom.Node: method
getNamespaceURI()Ljava/lang/String; not found	at
org.apache.soap.util.xml.QName.<init>(QName.java:78)	at
org.apache.soap.util.xml.QName.matches(QName.java:146)	at
org.apache.soap.Envelope.unmarshall(Envelope.java, Compiled Code)	at
org.apache.soap.rpc.Call.invoke(Call.java:172)
Thanks,

Mark Miller
Mark_m_miller@hp.com


-----Original Message-----
From:	Ruegger, Chris [mailto:cruegger@noblestar.com]
Sent:	Wednesday, September 27, 2000 4:23 AM
To:	'soap-user@xml.apache.org'
Subject:	RE: Install on weblogic 5.1

Does anyone have instructions for installing Apache-SOAP under JRun?
Thanks,
Chris


-----Original Message-----
From: Bruno Câmara [mailto:bfcamara@bes.pt]
Sent: Wednesday, September 27, 2000 4:23 AM
To: soap-user@xml.apache.org
Subject: Re: Install on weblogic 5.1



Here is a description of how to install Apache-SOAP in WebLogic Server
5.1 that I found in this mailing list.

Bruno Câmara

----------------------------------------------------------------------------
------



         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.

    1.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\web
logicaux.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-directo
ry}\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%

    1.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-dir
ectory}\lib\soap.jar;{apache-soap-install-directory}

    2.Edit the CLASSPATH(s) in the startConsole.cmd file to add the
Xerces and SOAP JAR files in the same way.
    3.Edit the weblogic.properties file, and insert the following line:


weblogic.httpd.register.soap/servlet/rpcrouter=org.apache.soap.server.http.R
PCRouterServlet

    4.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)

    1.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.
    2.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-dir
ectory}/lib/soap.jar;{apache-soap-install-directory}

    3.Edit the CLASSPATH(s) in the startConsole.sh file to add the
Xerces and SOAP JAR files in the same way.
    4.Edit the weblogic.properties file, and insert the following line:


weblogic.httpd.register.soap/servlet/rpcrouter=org.apache.soap.server.http.R
PCRouterServlet

    5.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).



Buck Foreman wrote:

> Has anyone installed on Weblogic 5.1 ?
> If so, can you send me a short blurb on what you did.