When you say compile I am assuming that all you did was generate the .class files for 
the .java file sthat are in the directory. You need to generate a WSDL using 
Java2WSDL, then WSDL2Java is run against the resulting WSDL and finally the 
AdminClient needs to be run with the deploy.wsdd file to deploy the service. I think 
the build.xml is incomplete, if you used that. I don't see anything in the build.xml 
that deploys the service.

________________________________
Harry J. Kobetitsch
UBS Warburg
One North Wacker Drive
Chicago, Illinois 60606-2809
312-525-5866
[EMAIL PROTECTED]

-----Original Message-----
From: Ghershony, Arie [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 27, 2003 2:45 PM
To: '[EMAIL PROTECTED]'
Subject: RE: error message in sample files


No, do I need to do that.  if then how do I do it.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 27, 2003 3:44 PM
To: [EMAIL PROTECTED]
Subject: RE: error message in sample files


Did you regenerate the skeletons and proxies?

________________________________
Harry J. Kobetitsch
UBS Warburg
One North Wacker Drive
Chicago, Illinois 60606-2809
312-525-5866
[EMAIL PROTECTED]

-----Original Message-----
From: Ghershony, Arie [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 27, 2003 2:39 PM
To: '[EMAIL PROTECTED]'
Subject: error message in sample files


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


I appreciate your help,
Aria

Visit our website at http://www.ubswarburg.com

This message contains confidential information and is intended only 
for the individual named.  If you are not the named addressee you 
should not disseminate, distribute or copy this e-mail.  Please 
notify the sender immediately by e-mail if you have received this 
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free 
as information could be intercepted, corrupted, lost, destroyed, 
arrive late or incomplete, or contain viruses.  The sender therefore 
does not accept liability for any errors or omissions in the contents 
of this message which arise as a result of e-mail transmission.  If 
verification is required please request a hard-copy version.  This 
message is provided for informational purposes and should not be 
construed as a solicitation or offer to buy or sell any securities or 
related financial instruments.

Visit our website at http://www.ubswarburg.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.

Reply via email to