Is your service listening on port 8080? If not, you have to specify the port too.
-----Original Message----- From: Lou, Zhuoming [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 11, 2002 11:26 AM To: [EMAIL PROTECTED] Subject: RE: NoSuchMethodError That worked. Thanks Charles. I run into another problem, when I try to test GetQuote, I got: /vobs/apps/zlou/tomcat4.0.3/webapps/axis/WEB-INF/classes **** % java samples.stock.GetQuote -lhttp://lunar0.dev.ubswenergy.com/axis/servlet/AxisServlet -uuser1 -wpass1 XXX AxisFault faultCode: http://xml.apache.org/axis/:Server.userException faultString: java.net.ConnectException: Connection refused faultActor: null faultDetail: stackTrace: java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:323) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:136) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:123) at java.net.Socket.<init>(Socket.java:273) at java.net.Socket.<init>(Socket.java:100) at org.apache.axis.transport.http.HTTPSender.invoke(Unknown Source) at org.apache.axis.strategies.InvocationStrategy.visit(Unknown Source) at org.apache.axis.SimpleChain.doVisiting(Unknown Source) at org.apache.axis.SimpleChain.invoke(Unknown Source) at org.apache.axis.client.AxisClient.invoke(Unknown Source) at org.apache.axis.client.Call.invoke(Unknown Source) at org.apache.axis.client.Call.invoke(Unknown Source) at org.apache.axis.client.Call.invoke(Unknown Source) at org.apache.axis.client.Call.invoke(Unknown Source) at samples.stock.GetQuote.getQuote(Unknown Source) at samples.stock.GetQuote.main(Unknown Source) Did I missed somethig? Thanks. ZL -----Original Message----- From: Ng, Charles [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 11, 2002 9:32 AM To: '[EMAIL PROTECTED]' Subject: RE: NoSuchMethodError Make sure you have a JAXP compliant parser in your classpath. -----Original Message----- From: Lou, Zhuoming [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 11, 2002 10:32 AM To: [EMAIL PROTECTED] Subject: NoSuchMethodError Hi all, I installed axis in Tomcat4.0.3. When I try to run java samples.userguide.example1.TestClient The following exception dumps: /vobs/apps/zlou/tomcat4.0.3/webapps/axis/WEB-INF/classes **** % java samples.userguide.example1.TestClient Exception in thread "main" java.lang.NoSuchMethodError at org.apache.axis.encoding.DeserializationContextImpl.parse(Unknown Source) at org.apache.axis.SOAPPart.getAsSOAPEnvelope(Unknown Source) at org.apache.axis.client.Call.invoke(Unknown Source) at org.apache.axis.client.Call.invoke(Unknown Source) at org.apache.axis.client.Call.invoke(Unknown Source) at org.apache.axis.client.Call.invoke(Unknown Source) at samples.userguide.example1.TestClient.main(Unknown Source) I got similar error for running other tests. Any help will be appreciated. ZL 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. This message may contain privileged and/or confidential information. If you have received this e-mail in error or are not the intended recipient, you may not use, copy, disseminate or distribute it; do not open any attachments, delete it immediately from your system and notify the sender promptly by e-mail that you have done so. Thank you. This message may contain privileged and/or confidential information. If you have received this e-mail in error or are not the intended recipient, you may not use, copy, disseminate or distribute it; do not open any attachments, delete it immediately from your system and notify the sender promptly by e-mail that you have done so. Thank you.