You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by Ivan Prochazka <ip...@borland.com> on 2001/08/22 09:48:23 UTC
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
Re: SOAP-ENV:Server.Exception
Posted by William Brogden <wb...@bga.com>.
> Ivan Prochazka wrote:
>
>
>
> Soap V2.2, TOmcat 3.2.1, jdk 1.3.0_02
>
> 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
> ?????????????????????????????????????????????????????????????
The usual cause for NoSuchMethodError seems to be related
to your system having an older XML parser that does not recognize
namespaces. In spite of the fact that you have xerces.jar on your
classpath, Java can find the older parser first if it is in
JAVA_HOME/jre/lib/ext extension directory
See the findingclasses.html file in your SDK tooldocs directory.
--
WBB - wbrogden@lanw.com
Java Cert mock exams http://www.lanw.com/java/javacert/
Author of Java Developer's Guide to Servlets and JSP
ISBN 0-7821-2809-2
Re: SOAP-ENV:Server.Exception
Posted by 김동우 <ke...@dib.net>.
Just see
SOAPROOT\docs\install\tomcat.html
and be happy!^^
----- Original Message -----
From: Ivan Prochazka
To: soap-user@xml.apache.org
Sent: Wednesday, August 22, 2001 4:48 PM
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
Re: SOAP-ENV:Server.Exception
Posted by William Brogden <wb...@bga.com>.
> Ivan Prochazka wrote:
>
>
>
> Soap V2.2, TOmcat 3.2.1, jdk 1.3.0_02
>
> 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
> ?????????????????????????????????????????????????????????????
The usual cause for NoSuchMethodError seems to be related
to your system having an older XML parser that does not recognize
namespaces. In spite of the fact that you have xerces.jar on your
classpath, Java can find the older parser first if it is in
JAVA_HOME/jre/lib/ext extension directory
See the findingclasses.html file in your SDK tooldocs directory.
--
WBB - wbrogden@lanw.com
Java Cert mock exams http://www.lanw.com/java/javacert/
Author of Java Developer's Guide to Servlets and JSP
ISBN 0-7821-2809-2
Re: SOAP-ENV:Server.Exception
Posted by Arnold Poon <Ar...@oracle.com>.
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 -----
From: Ivan Prochazka
To: soap-user@xml.apache.org
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
Re: SOAP-ENV:Server.Exception
Posted by 김동우 <ke...@dib.net>.
Just see
SOAPROOT\docs\install\tomcat.html
and be happy!^^
----- Original Message -----
From: Ivan Prochazka
To: soap-user@xml.apache.org
Sent: Wednesday, August 22, 2001 4:48 PM
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
Re: SOAP-ENV:Server.Exception
Posted by Arnold Poon <Ar...@oracle.com>.
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 -----
From: Ivan Prochazka
To: soap-user@xml.apache.org
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