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 "Kampf, Joe (FUSA)" <Jo...@FIRSTUSA.com> on 2001/08/29 16:27:30 UTC
RE: Unable to deploy to SOAP 2.2 - Problem Solved!
In the tomcat.bat file:
Change the section of the file :chkClasspath from
:chkClasspath
if "%CLASSPATH%" == "" goto noClasspath
set CP=%CP%;%CLASSPATH%
to
:chkClasspath
if "%CLASSPATH%" == "" goto noClasspath
set CP=%CLASSPATH%;%CP%
This will work.
-----Original Message-----
From: Kampf, Joe (FUSA) [mailto:Joekampf@firstusa.com]
Sent: Wednesday, August 29, 2001 9:57 AM
To: SOAP user
Subject: Re: Unable to deploy to SOAP 2.2
Importance: High
Does anyone have a solution to this problem? I am having the same
difficulties.
My environment before running the tomcat.bat is:
set JAVA_HOME=c:\jdk1.3
set TOMCAT_HOME=c:\tomcat
set
CLASSPATH=C:\xerces-1_4_2\xerces.jar;C:\soap-2_2\lib\soap.jar;C:\javamail-1.
2\mail.jar;C:\jaf-1.0.1\activation.jar;C:\soap-2_2
----------------------------------------------------------------------------
------------------------------------------
I've got the same problem!
java org.apache.soap.server.ServiceManagerClient
http://localhost:8080/soap/servlet/rpcrouter
IS OK, but with
java org.apache.soap.server.ServiceManagerClient
http://localhost:8080/soap/servlet/rpcrouter list
I got:
Ouch, the call failed:
Fault Code = SOAP-ENV:Server.Exception:
Fault String = java.lang.NoSuchMethodError
Sri Sankaran wrote:
> Can you please point out the error in the following?
>
> I am trying to deploy a test application to Apache SOAP 2.2 installed
under Tomcat 3.2.2.
>
> Following is the deployment descriptor
>
> <isd:service xmlns:isd="http://xml.apache.org/xml-soap/deployment"
id="urn:Hello">
> <isd:provider type="java" scope="Application" methods="foo">
> <isd:java class="hello.HelloServer" static="false"/>
> </isd:provider>
> </isd:service>
>
> I'm using the command line option to deploy using the following command:
>
> java org.apache.soap.server.ServiceManagerClient
http://localhost:8080/soap/servlet/rpcrouter deploy dd.xml
>
> where dd.xml is the file containing the above deployment descriptor.
>
> The response I get is:
>
> Ouch, the call failed:
> Fault Code = SOAP-ENV:Server.Exception:
> Fault String = java.lang.NoSuchMethodError
>
> Yes, I have all the necessary packages in my classpath.
>
> Sri
--
----------------------------------
rares portan
software.developer
caatoosee srl
str. cluj nr.13
romania, 1900 timisoara
Ph +40 (0) 56.295 215
Fx +40 (0) 56.295 216
mailto:rares.portan@caatoosee.com
http://www.caatoosee.com
----------------------------------
>get what you want
**********************************************************************
This transmission may contain information that is privileged, confidential
and/or exempt from disclosure under applicable law. If you are not the
intended recipient, you are hereby notified that any disclosure, copying,
distribution, or use of the information contained herein (including any
reliance thereon) is STRICTLY PROHIBITED. If you received this transmission
in error, please immediately contact the sender and destroy the material in
its entirety, whether in electronic or hard copy format. Thank you
**********************************************************************