Ok, so check this out.

Now I am doing the StockQuote

My Tomcat is running on port 80...

I run the following and....
java
samples.stock.GetQuote -lhttp://localhost:80/axis/servlet/AxisServlet -uuser
1 -wpass1 XXX

AxisFault
 faultCode: http://xml.apache.org/axis/:Server.NoService
 faultString: The AXIS engine could not find a target service to invoke!
target
Service is null
 faultActor: null
 faultDetail:
        stackTrace: The AXIS engine could not find a target service to
invoke!
targetService is null
        at org.apache.axis.server.AxisServer.invoke(AxisServer.java:282)
        at
org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:57
6)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java)
        at org.apache.tomcat.facade.ServletHandler.doService(Unknown Source)
        at org.apache.tomcat.core.Handler.invoke(Unknown Source)
        at org.apache.tomcat.core.Handler.service(Unknown Source)
        at org.apache.tomcat.facade.ServletHandler.service(Unknown Source)
        at org.apache.tomcat.core.ContextManager.internalService(Unknown
Source)

        at org.apache.tomcat.core.ContextManager.service(Unknown Source)
        at
org.apache.tomcat.modules.server.Http10Interceptor.processConnection(
Unknown Source)
        at org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown Source)
        at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown
 Source)
        at java.lang.Thread.run(Thread.java:539)



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 26, 2002 3:57 PM
To: [EMAIL PROTECTED]
Subject: RE: NewBie Question



Then the port your accessing it on - 5049 - may be blocked by a firewall at
your company.






Anthony Smith <[EMAIL PROTECTED]> on 06/26/2002 05:10:47 PM

Please respond to [EMAIL PROTECTED]

To:   [EMAIL PROTECTED]
cc:    (bcc: Kevin Bedell/Systems/USHO/SunLife)
Subject:  RE: NewBie Question


I am using TestClient in examples1 and the endpoint is:

String endpoint = "http://nagoya.apache.org:5049/axis/servlet/AxisServlet";;

It seems as if Axis is runnig there.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 26, 2002 3:50 PM
To: [EMAIL PROTECTED]
Subject: Re: NewBie Question



Sounds as if either:


 - The URL you are building for the endpoint has the incorrect port. The
line:

        String endpoint = "http://localhost:"; + options.getPort() +
"/axis/Calculator.jws";

may not be resolving to the correct port. Do a System.out.print and see if
the endpoint is the same port you have your server on.

 - Axis isn't running. Are you sure it's started and running correctly?









Anthony Smith <[EMAIL PROTECTED]> on 06/26/2002 04:55:07 PM

Please respond to [EMAIL PROTECTED]

To:   [EMAIL PROTECTED]
cc:    (bcc: Kevin Bedell/Systems/USHO/SunLife)
Subject:  NewBie Question


I just got started with Axis and tried a few examples, and I get the same
message for all of them...


java.net.ConnectException: Connection timed out: connect

I put a few printlines in my code and they all seem to get stuck on
statements like the following:

Integer ret = (Integer) call.invoke( new Object [] { i1, i2 });


Basically any call.invoke.... Can someone tell me where I am going wrong?

Anthony Smith
GSP Technologies
901-263-8953

"Having education and talent doesn't make you better than the world... it
makes you responsible for it!"















Reply via email to