I had similar experience using Tomcat 4.0.3. I fought on it for two days without success. Finally I put all jar files from axis/WEB-INF/lib including xerces.jar into Tomcat4.0.3\lib and it worked. Although this is not a perfect solution, it worked and I am using it for the moment.
 
Sanjesh
-----Original Message-----
From: Ivan Filippenko [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 23, 2002 4:14 PM
To: [EMAIL PROTECTED]
Subject: Call.setOperationName(QName) method not found


Using AXIS Beta3, Tomcat 4.0.4, JDK 1.3.1_04:

I've successfully deployed StockQuote. But when I try to run it as follows
(I have TCPMon running on port 8888 and passing through to Tomcat):

C:\> java samples.stock.GetQuote -lhttp://localhost:8888/axis/servlet/AxisServlet
 -uuser1 -wpass1 XXX

I get the following exception:

Exception in thread "main" java.lang.NoSuchMethodError:
org.apache.axis.client.Call.setOperationName(Ljavax/xml/namespace/QName;)V
        at samples.stock.GetQuote.getQuote(GetQuote.java:109)
        at samples.stock.GetQuote.main(GetQuote.java:135)

I can't understand this, since the Call class certainly does appear to have a method
of that signature (looking at the source), and I have jaxrpc.jar in both Tomcat's
common/lib and webapps/axis/WEB-INF/lib.

Any clues?  I'd sure appreciate some.  This is quite frustrating.

Thanks a lot,

  -- Ivan


**********************************************************************
This e-mail is the property of Enron Corp. and/or its relevant affiliate and may contain confidential and privileged material for the sole use of the intended recipient (s). Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender or reply to Enron Corp. at [EMAIL PROTECTED] and delete all copies of the message. This e-mail (and any attachments hereto) are not intended to be an offer (or an acceptance) and do not create or evidence a binding and enforceable contract between Enron Corp. (or any of its affiliates) and the intended recipient or any other party, and may not be relied on by anyone as the basis of a contract by estoppel or otherwise. Thank you.
**********************************************************************

Reply via email to