To all those who have been struggling with the NoSuchMethodError try Blaine's 
recommendation; get xerces 1.4.1. It works. 
For me the combination of products & platform is: 
-- win NT 
-- tomcat 3.2.2 
-- xerces 1.4.1 
-- soap 2.2 
The only change I made to the tomcat.bat file was to add the following lines: 
        rem --- SOAP ---
        set CP=c:\apache\xerces-1_4_1\xerces.jar;%CP%
        set CP=%CP%;c:\apache\soap-2_2\samples
        rem --- end SOAP ---
This is done just before the classpath is set (find: set CLASSPATH=%CP%).  Of course, 
your path may be different.   Instead of adding mail.jar, activation.jar etc in the 
classpath, I simply created a lib directory under soap's WEB-INF.  Tomcat 
automatically will load jars in there at startup.
I would like to know why do we ever have to include xerces.jar if jaxp.jar is a 
replacement?
Sri 

        -----Original Message-----
        From: R. Blaine Mincey [mailto:[EMAIL PROTECTED]]
        Sent: Thursday, July 19, 2001 3:53 AM
        To: [EMAIL PROTECTED]
        Cc: [EMAIL PROTECTED]
        Subject: RE: urgent
        
        I was having a very difficult time as well. I started using Xerces 1.4.1 and 
everything worked. Try getting the latest version of Xerces and give that a shot. 
        Blaine 
                -----Original Message-----
                From: BKS_prasad [mailto:[EMAIL PROTECTED]]
                Sent: Wednesday, July 18, 2001 9:32 PM
                To: [EMAIL PROTECTED]
                Subject: RE: urgent
                
                
                
                
                                        Hi All, 
                                        I am also getting the same error like most of 
them when ever I run the samples of APACHE-Soap on Jrun3.0. 
                                        D:\soap-2_2>java 
samples.addressbook.GetAddress <http://localhost:8100/soap/servlet/rpcrouter> "John B 
. Good" 
                                        Generated fault: 
                                        Fault Code = SOAP-ENV:Server.Exception: 
                                        Fault String = java.lang.NoSuchMethodError 
                                        I already read the posted solutions.I followed 
all instructions like xerces1.3.0 etc Still I am getting the same problem.
                                        I am sending the classpaths for server as well 
as My systemPath 
                                        
MysystemPath:D:\xerces-1_3_0\xerces.jar;D:\soap-2_2\lib\soap.jar;D:\soap-2_2;E:\jdk1.3\lib\dt.jar;E:\jdk1.3\lib\tools.jar;E:\jdk1.3\lib\servlet.jar;D:\JRun3.0\lib\ext\activation.jar;D:\JRun3.0\lib\ext\mail.jar;D:\bsf.jar;.;
                                        jrun-default.bat 
                                        MyserverPath 
                                        @echo off 
                                        set 
classpath=D:\xerces-1_3_0\xerces.jar;D:\soap-2_2\lib\soap.jar;D:\soap-2_2;D:\JRun3.0\lib\ext\activation.jar;D:\JRun3.0\lib\ext\mail.jar;D:\bsf.jar;%classpath%;
                                        start jrun -start default 
                                        My apache-SOAP samples are in D:\soap-2_2; 
                                        Can Any body help in resolving this problem 
                                        Thanks&Regards 
                                        Prasad 

Reply via email to