Hi
 
    Check to see if you have Xerces.jar (of other appropiate XML jar files) at the front of your classpath (both client and server side). By default, tomcat (which is what I am using) uses JAXP which is not compatible. You need to have Xerces before JAXP, otherwise java will pick up the wrong lib (and hence could not find the method). When you run tomcat, you will see a list of classpath being used, check there to see if Xerces is at the front.
 
    I think there is a note in the install guide about this also. Feel free to check that out.
 
Arnold
----- Original Message -----
Sent: Wednesday, August 22, 2001 12:48 AM
Subject: SOAP-ENV:Server.Exception

 
 
Soap V2.2, TOmcat 3.2.1, jdk 1.3.0_02
 
Dear sirs.
 
I believe I have installed Soap V2.2, for Tomcat as appropriate.
 
I can look att soap/admin/index.html and do "list", or "deploy" in this
page.
 
I can also check the soap/servlet/rpcrouter, and get the expected message
-------------------------------------------------------------------------------
SOAP RPC Router
Sorry, I don't speak via HTTP GET- you have to use HTTP POST to talk to me.
-------------------------------------------------------------------------------
 
What doesn't work is doing basic "deploy" and "list" using the scripts in the sample directory.
 
That is using the client "org.apache.soap.server.ServiceManagerClient" ???
 

java -cp      C:\tomcat3\soap\xerces.jar;C:\tomcat3\soap\mail.jar;
     C:\tomcat3\soap\js.jar;C:\tomcat3\soap\bsf.jar;
     C:\tomcat3\soap\activation.jar;C:\tomcat3\soap\soap.jar
 
           org.apache.soap.server.ServiceManagerClient   
                  "http://localhost:8080/soap/servlet/rpcrouter"
                         list
 

This generates following error,
?????????????????????????????????????????????????????????????
    Ouch, the call failed:
           Fault Code   = SOAP-ENV:Server.Exception:
           Fault String = java.lang.NoSuchMethodError
?????????????????????????????????????????????????????????????
 

Same is obtained when doing deployment
 
  java -cp ... org.apache.soap.server.ServiceManagerClient   
                  "http://localhost:8080/soap/servlet/rpcrouter"
                         deploy DeploymentDescriptor.xml
 

I'm completely puzzled,
   
     greatfull for any Idea
 

                            Ivan Prochazka
                     

Reply via email to