You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by "Ghershony, Arie" <Ar...@GDC4S.Com> on 2003/02/27 21:59:08 UTC
help, should I giving up on AXIS??
very frustrating error!!!
I run the D:\xml-axis\samples\message files in my environment as is, and it
works fine initially.
Then I compile the files successfully, but receive the following error while
running it again.
C:\xml-axis>java samples.message.TestMsg
Exception in thread "main" AxisFault
faultCode: {http://xml.apache.org/axis/}Server.userException
faultString: java.lang.NoSuchMethodException:
samples.message.MessageService.ec
hoElements(org.w3c.dom.Document)tried class:
samples.message.MessageService, me
thod name: echoElements.
faultActor: null
faultDetail:
stackTrace: java.lang.NoSuchMethodException:
samples.message.MessageServ
ice.echoElements(org.w3c.dom.Document)tried class:
samples.message.MessageServi
ce, method name: echoElements.
at
org.apache.axis.providers.java.MsgProvider.processMessage(MsgProvider
.java:173)
at
org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:
When I go back and re-run the original files (not compiled by me) I will
receive that error again (how can it be???).
To help you help me:
In my environment I am calling the xml-axis directory by tomcat like this:
D:\tomcat1\conf\server.xml by changing the sintax to:
......
</Context>
<Context docBase="d:\xml-axis\webapps\axis" path="/axis" />
</Host>
......
my class path is:
set CLASSPATH=.;%JAVA_HOME%\lib\tools.jar
set CLASSPATH=%classpath%;%axisDirectory%\lib\axis.jar
set CLASSPATH=%classpath%;%axisDirectory%\lib\jaxrpc.jar
set CLASSPATH=%classpath%;%axisDirectory%\lib\commons-discovery.jar
set CLASSPATH=%classpath%;%axisDirectory%\lib\commons-logging.jar
set CLASSPATH=%classpath%;%axisDirectory%\lib\log4j-1.2.4.jar
set CLASSPATH=%classpath%;%axisDirectory%\lib\saaj.jar
set CLASSPATH=%classpath%;%axisDirectory%\lib\tt-bytecode.jar
set CLASSPATH=%classpath%;%jwsDirectory%\lib\xmlParserAPIs.jar
set CLASSPATH=%classpath%;%jwsDirectory%\lib\xercesImpl.jar
RE: help, should I giving up on AXIS??
Posted by Mark Galbreath <ma...@qat.com>.
That's obvious: you are running the "Axis of Evil" version.
Mark
-----Original Message-----
From: Ghershony, Arie [mailto:Arie.Ghershony@GDC4S.Com]
Sent: Thursday, February 27, 2003 3:59 PM
To: 'axis-user@ws.apache.org'
Subject: help, should I giving up on AXIS??
very frustrating error!!!
I run the D:\xml-axis\samples\message files in my environment as is, and it
works fine initially. Then I compile the files successfully, but receive the
following error while running it again.
C:\xml-axis>java samples.message.TestMsg
Exception in thread "main" AxisFault
faultCode: {http://xml.apache.org/axis/}Server.userException
faultString: java.lang.NoSuchMethodException:
samples.message.MessageService.ec hoElements(org.w3c.dom.Document)tried
class: samples.message.MessageService, me thod name: echoElements.
faultActor: null
faultDetail:
stackTrace: java.lang.NoSuchMethodException:
samples.message.MessageServ ice.echoElements(org.w3c.dom.Document)tried
class: samples.message.MessageServi ce, method name: echoElements.
at
org.apache.axis.providers.java.MsgProvider.processMessage(MsgProvider
.java:173)
at
org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:
When I go back and re-run the original files (not compiled by me) I will
receive that error again (how can it be???).
To help you help me:
In my environment I am calling the xml-axis directory by tomcat like this:
D:\tomcat1\conf\server.xml by changing the sintax to:
......
</Context>
<Context docBase="d:\xml-axis\webapps\axis" path="/axis" />
</Host>
......
my class path is:
set CLASSPATH=.;%JAVA_HOME%\lib\tools.jar
set CLASSPATH=%classpath%;%axisDirectory%\lib\axis.jar
set CLASSPATH=%classpath%;%axisDirectory%\lib\jaxrpc.jar
set CLASSPATH=%classpath%;%axisDirectory%\lib\commons-discovery.jar
set CLASSPATH=%classpath%;%axisDirectory%\lib\commons-logging.jar
set CLASSPATH=%classpath%;%axisDirectory%\lib\log4j-1.2.4.jar
set CLASSPATH=%classpath%;%axisDirectory%\lib\saaj.jar
set CLASSPATH=%classpath%;%axisDirectory%\lib\tt-bytecode.jar
set CLASSPATH=%classpath%;%jwsDirectory%\lib\xmlParserAPIs.jar
set CLASSPATH=%classpath%;%jwsDirectory%\lib\xercesImpl.jar