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 CT Chou <ct...@cisco.com> on 2002/01/01 00:17:10 UTC

FaultString=java.lang.NoSuchMethod

Hi,

I have SOAP 2.2 and Tomcat 3.2.3, Xerces 1.4.4 installed. This is my
classpath
c:\jars\xerces.jar;c:\jars\soap.jar;c:\jars\mail.jar;c:\jars\activation.jar;
c:\jars\bsf.jar;c:\jars\js.jar;c:\soap-2_2

The server-side installation check is fine, i.e. I get "only support POST"
when launch http://localhost:8080/soap/servlet/rpcrouter in the browser.
However, when start StockQuote service testit.cmd I am getting following
error:

C:\soap-2_2\samples\stockquote>testit
This test assumes a server URL of
http://localhost:8080/soap/servlet/rpcrouter
Deploying the stockquote service...
Ouch, the call failed:
  Fault Code   = SOAP-ENV:Server.Exception:
  Fault String = java.lang.NoSuchMethodError

Can someone please help?

Thanks in advance.



RE: FaultString=java.lang.NoSuchMethod

Posted by William Brogden <wb...@bga.com>.
 
-----Original Message-----
From: CT Chou [mailto:ctchou@cisco.com] 
Sent: Monday, December 31, 2001 6:33 PM
To: soap-user@xml.apache.org; fho@post.com
Subject: RE: FaultString=java.lang.NoSuchMethod
Sensitivity: Private


It might not be the path problem since I am getting the same error when
try to list all services with
java org.apache.soap.server.ServiceManagerClient rpc-router-url list
 
If you are getting NoSuchMethod all over the place, I suggest that you
have
an older XML parser somewhere on your system that the JVM is finding
before
it finds the current Xerces or whatever. Apache SOAP requires a parser
that understands namespaces. 
When I had this problem I traced it to an old JAXP in the JDK standard
extensions directory.
 
 
-----Original Message-----
From: Francis Ho [mailto:fho@post.com]
Sent: Monday, December 31, 2001 3:21 PM
To: soap-user@xml.apache.org
Subject: RE: FaultString=java.lang.NoSuchMethod
Sensitivity: Private
 
Are the classes for your particular service visible to the servlet?
(e.g. is it in the classpath?)
 
francis!
 
>> -----Original Message-----
>> From: CT Chou [mailto:ctchou@cisco.com]
>> Sent: Monday, December 31, 2001 6:17 PM
>> To: soap-user@xml.apache.org
>> Subject: FaultString=java.lang.NoSuchMethod
>>
>>
>> Hi,
>>
>> I have SOAP 2.2 and Tomcat 3.2.3, Xerces 1.4.4 installed. This is my
>> classpath
>> c:\jars\xerces.jar;c:\jars\soap.jar;c:\jars\mail.jar;c:\jars\acti
>> vation.jar;
>> c:\jars\bsf.jar;c:\jars\js.jar;c:\soap-2_2
>>
>> The server-side installation check is fine, i.e. I get "only
>> support POST"
>> when launch http://localhost:8080/soap/servlet/rpcrouter in the
browser.
>> However, when start StockQuote service testit.cmd I am getting
following
>> error:
>>
>> C:\soap-2_2\samples\stockquote>testit
>> This test assumes a server URL of
>> http://localhost:8080/soap/servlet/rpcrouter
>> Deploying the stockquote service...
>> Ouch, the call failed:
>>   Fault Code   = SOAP-ENV:Server.Exception:
>>   Fault String = java.lang.NoSuchMethodError
>>
>> Can someone please help?
>>
>> Thanks in advance.
>>
>> 

RE: FaultString=java.lang.NoSuchMethod

Posted by William Brogden <wb...@bga.com>.
 
-----Original Message-----
From: CT Chou [mailto:ctchou@cisco.com] 
Sent: Monday, December 31, 2001 6:33 PM
To: soap-user@xml.apache.org; fho@post.com
Subject: RE: FaultString=java.lang.NoSuchMethod
Sensitivity: Private


It might not be the path problem since I am getting the same error when
try to list all services with
java org.apache.soap.server.ServiceManagerClient rpc-router-url list
 
If you are getting NoSuchMethod all over the place, I suggest that you
have
an older XML parser somewhere on your system that the JVM is finding
before
it finds the current Xerces or whatever. Apache SOAP requires a parser
that understands namespaces. 
When I had this problem I traced it to an old JAXP in the JDK standard
extensions directory.
 
 
-----Original Message-----
From: Francis Ho [mailto:fho@post.com]
Sent: Monday, December 31, 2001 3:21 PM
To: soap-user@xml.apache.org
Subject: RE: FaultString=java.lang.NoSuchMethod
Sensitivity: Private
 
Are the classes for your particular service visible to the servlet?
(e.g. is it in the classpath?)
 
francis!
 
>> -----Original Message-----
>> From: CT Chou [mailto:ctchou@cisco.com]
>> Sent: Monday, December 31, 2001 6:17 PM
>> To: soap-user@xml.apache.org
>> Subject: FaultString=java.lang.NoSuchMethod
>>
>>
>> Hi,
>>
>> I have SOAP 2.2 and Tomcat 3.2.3, Xerces 1.4.4 installed. This is my
>> classpath
>> c:\jars\xerces.jar;c:\jars\soap.jar;c:\jars\mail.jar;c:\jars\acti
>> vation.jar;
>> c:\jars\bsf.jar;c:\jars\js.jar;c:\soap-2_2
>>
>> The server-side installation check is fine, i.e. I get "only
>> support POST"
>> when launch http://localhost:8080/soap/servlet/rpcrouter in the
browser.
>> However, when start StockQuote service testit.cmd I am getting
following
>> error:
>>
>> C:\soap-2_2\samples\stockquote>testit
>> This test assumes a server URL of
>> http://localhost:8080/soap/servlet/rpcrouter
>> Deploying the stockquote service...
>> Ouch, the call failed:
>>   Fault Code   = SOAP-ENV:Server.Exception:
>>   Fault String = java.lang.NoSuchMethodError
>>
>> Can someone please help?
>>
>> Thanks in advance.
>>
>> 

RE: FaultString=java.lang.NoSuchMethod

Posted by CT Chou <ct...@cisco.com>.
It might not be the path problem since I am getting the same error when try
to list all services with
java org.apache.soap.server.ServiceManagerClient rpc-router-url list



-----Original Message-----
From: Francis Ho [mailto:fho@post.com]
Sent: Monday, December 31, 2001 3:21 PM
To: soap-user@xml.apache.org
Subject: RE: FaultString=java.lang.NoSuchMethod
Sensitivity: Private

Are the classes for your particular service visible to the servlet?
(e.g. is it in the classpath?)

francis!

>> -----Original Message-----
>> From: CT Chou [ mailto:ctchou@cisco.com]
>> Sent: Monday, December 31, 2001 6:17 PM
>> To: soap-user@xml.apache.org
>> Subject: FaultString=java.lang.NoSuchMethod
>>
>>
>> Hi,
>>
>> I have SOAP 2.2 and Tomcat 3.2.3, Xerces 1.4.4 installed. This is my
>> classpath
>> c:\jars\xerces.jar;c:\jars\soap.jar;c:\jars\mail.jar;c:\jars\acti
>> vation.jar;
>> c:\jars\bsf.jar;c:\jars\js.jar;c:\soap-2_2
>>
>> The server-side installation check is fine, i.e. I get "only
>> support POST"
>> when launch http://localhost:8080/soap/servlet/rpcrouter in the browser.
>> However, when start StockQuote service testit.cmd I am getting following
>> error:
>>
>> C:\soap-2_2\samples\stockquote>testit
>> This test assumes a server URL of
>> http://localhost:8080/soap/servlet/rpcrouter
>> Deploying the stockquote service...
>> Ouch, the call failed:
>>   Fault Code   = SOAP-ENV:Server.Exception:
>>   Fault String = java.lang.NoSuchMethodError
>>
>> Can someone please help?
>>
>> Thanks in advance.
>>
>>

RE: FaultString=java.lang.NoSuchMethod

Posted by CT Chou <ct...@cisco.com>.
It might not be the path problem since I am getting the same error when try
to list all services with
java org.apache.soap.server.ServiceManagerClient rpc-router-url list



-----Original Message-----
From: Francis Ho [mailto:fho@post.com]
Sent: Monday, December 31, 2001 3:21 PM
To: soap-user@xml.apache.org
Subject: RE: FaultString=java.lang.NoSuchMethod
Sensitivity: Private

Are the classes for your particular service visible to the servlet?
(e.g. is it in the classpath?)

francis!

>> -----Original Message-----
>> From: CT Chou [ mailto:ctchou@cisco.com]
>> Sent: Monday, December 31, 2001 6:17 PM
>> To: soap-user@xml.apache.org
>> Subject: FaultString=java.lang.NoSuchMethod
>>
>>
>> Hi,
>>
>> I have SOAP 2.2 and Tomcat 3.2.3, Xerces 1.4.4 installed. This is my
>> classpath
>> c:\jars\xerces.jar;c:\jars\soap.jar;c:\jars\mail.jar;c:\jars\acti
>> vation.jar;
>> c:\jars\bsf.jar;c:\jars\js.jar;c:\soap-2_2
>>
>> The server-side installation check is fine, i.e. I get "only
>> support POST"
>> when launch http://localhost:8080/soap/servlet/rpcrouter in the browser.
>> However, when start StockQuote service testit.cmd I am getting following
>> error:
>>
>> C:\soap-2_2\samples\stockquote>testit
>> This test assumes a server URL of
>> http://localhost:8080/soap/servlet/rpcrouter
>> Deploying the stockquote service...
>> Ouch, the call failed:
>>   Fault Code   = SOAP-ENV:Server.Exception:
>>   Fault String = java.lang.NoSuchMethodError
>>
>> Can someone please help?
>>
>> Thanks in advance.
>>
>>

RE: FaultString=java.lang.NoSuchMethod

Posted by CT Chou <ct...@cisco.com>.
Yes.
I have c:\soap-2_2 directory in my classpath.
I could run javap samples.stockquote.StockQuoteService
 
-----Original Message-----
From: Francis Ho [mailto:fho@post.com]
Sent: Monday, December 31, 2001 3:21 PM
To: soap-user@xml.apache.org
Subject: RE: FaultString=java.lang.NoSuchMethod
Sensitivity: Private
 
Are the classes for your particular service visible to the servlet?
(e.g. is it in the classpath?)
 
francis!
 
>> -----Original Message-----
>> From: CT Chou [ mailto:ctchou@cisco.com]
>> Sent: Monday, December 31, 2001 6:17 PM
>> To: soap-user@xml.apache.org
>> Subject: FaultString=java.lang.NoSuchMethod
>>
>>
>> Hi,
>>
>> I have SOAP 2.2 and Tomcat 3.2.3, Xerces 1.4.4 installed. This is my
>> classpath
>> c:\jars\xerces.jar;c:\jars\soap.jar;c:\jars\mail.jar;c:\jars\acti
>> vation.jar;
>> c:\jars\bsf.jar;c:\jars\js.jar;c:\soap-2_2
>>
>> The server-side installation check is fine, i.e. I get "only
>> support POST"
>> when launch http://localhost:8080/soap/servlet/rpcrouter in the browser.
>> However, when start StockQuote service testit.cmd I am getting following
>> error:
>>
>> C:\soap-2_2\samples\stockquote>testit
>> This test assumes a server URL of
>> http://localhost:8080/soap/servlet/rpcrouter
>> Deploying the stockquote service...
>> Ouch, the call failed:
>>   Fault Code   = SOAP-ENV:Server.Exception:
>>   Fault String = java.lang.NoSuchMethodError
>>
>> Can someone please help?
>>
>> Thanks in advance.
>>
>> 

RE: FaultString=java.lang.NoSuchMethod

Posted by CT Chou <ct...@cisco.com>.
Yes.
I have c:\soap-2_2 directory in my classpath.
I could run javap samples.stockquote.StockQuoteService
 
-----Original Message-----
From: Francis Ho [mailto:fho@post.com]
Sent: Monday, December 31, 2001 3:21 PM
To: soap-user@xml.apache.org
Subject: RE: FaultString=java.lang.NoSuchMethod
Sensitivity: Private
 
Are the classes for your particular service visible to the servlet?
(e.g. is it in the classpath?)
 
francis!
 
>> -----Original Message-----
>> From: CT Chou [ mailto:ctchou@cisco.com]
>> Sent: Monday, December 31, 2001 6:17 PM
>> To: soap-user@xml.apache.org
>> Subject: FaultString=java.lang.NoSuchMethod
>>
>>
>> Hi,
>>
>> I have SOAP 2.2 and Tomcat 3.2.3, Xerces 1.4.4 installed. This is my
>> classpath
>> c:\jars\xerces.jar;c:\jars\soap.jar;c:\jars\mail.jar;c:\jars\acti
>> vation.jar;
>> c:\jars\bsf.jar;c:\jars\js.jar;c:\soap-2_2
>>
>> The server-side installation check is fine, i.e. I get "only
>> support POST"
>> when launch http://localhost:8080/soap/servlet/rpcrouter in the browser.
>> However, when start StockQuote service testit.cmd I am getting following
>> error:
>>
>> C:\soap-2_2\samples\stockquote>testit
>> This test assumes a server URL of
>> http://localhost:8080/soap/servlet/rpcrouter
>> Deploying the stockquote service...
>> Ouch, the call failed:
>>   Fault Code   = SOAP-ENV:Server.Exception:
>>   Fault String = java.lang.NoSuchMethodError
>>
>> Can someone please help?
>>
>> Thanks in advance.
>>
>> 

RE: FaultString=java.lang.NoSuchMethod

Posted by Francis Ho <fh...@post.com>.
Are the classes for your particular service visible to the servlet?
(e.g. is it in the classpath?)

francis!



>> -----Original Message-----
>> From: CT Chou [mailto:ctchou@cisco.com]
>> Sent: Monday, December 31, 2001 6:17 PM
>> To: soap-user@xml.apache.org
>> Subject: FaultString=java.lang.NoSuchMethod
>>
>>
>> Hi,
>>
>> I have SOAP 2.2 and Tomcat 3.2.3, Xerces 1.4.4 installed. This is my
>> classpath
>> c:\jars\xerces.jar;c:\jars\soap.jar;c:\jars\mail.jar;c:\jars\acti
>> vation.jar;
>> c:\jars\bsf.jar;c:\jars\js.jar;c:\soap-2_2
>>
>> The server-side installation check is fine, i.e. I get "only
>> support POST"
>> when launch http://localhost:8080/soap/servlet/rpcrouter in the browser.
>> However, when start StockQuote service testit.cmd I am getting following
>> error:
>>
>> C:\soap-2_2\samples\stockquote>testit
>> This test assumes a server URL of
>> http://localhost:8080/soap/servlet/rpcrouter
>> Deploying the stockquote service...
>> Ouch, the call failed:
>>   Fault Code   = SOAP-ENV:Server.Exception:
>>   Fault String = java.lang.NoSuchMethodError
>>
>> Can someone please help?
>>
>> Thanks in advance.
>>
>> 


RE: FaultString=java.lang.NoSuchMethod

Posted by Francis Ho <fh...@post.com>.
Are the classes for your particular service visible to the servlet?
(e.g. is it in the classpath?)

francis!



>> -----Original Message-----
>> From: CT Chou [mailto:ctchou@cisco.com]
>> Sent: Monday, December 31, 2001 6:17 PM
>> To: soap-user@xml.apache.org
>> Subject: FaultString=java.lang.NoSuchMethod
>>
>>
>> Hi,
>>
>> I have SOAP 2.2 and Tomcat 3.2.3, Xerces 1.4.4 installed. This is my
>> classpath
>> c:\jars\xerces.jar;c:\jars\soap.jar;c:\jars\mail.jar;c:\jars\acti
>> vation.jar;
>> c:\jars\bsf.jar;c:\jars\js.jar;c:\soap-2_2
>>
>> The server-side installation check is fine, i.e. I get "only
>> support POST"
>> when launch http://localhost:8080/soap/servlet/rpcrouter in the browser.
>> However, when start StockQuote service testit.cmd I am getting following
>> error:
>>
>> C:\soap-2_2\samples\stockquote>testit
>> This test assumes a server URL of
>> http://localhost:8080/soap/servlet/rpcrouter
>> Deploying the stockquote service...
>> Ouch, the call failed:
>>   Fault Code   = SOAP-ENV:Server.Exception:
>>   Fault String = java.lang.NoSuchMethodError
>>
>> Can someone please help?
>>
>> Thanks in advance.
>>
>>