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

Reply via email to