axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Walker, Jeff" <Jeff.Wal...@fmr.com>
Subject RE: Axis engine
Date Thu, 14 Jun 2007 13:37:22 GMT
Well,
Yes, that is the simplest. For Axis, you can hit do a GET to
http://localhost:8080/axis/servlet/AxisServlet to get a list back of
available web services hosted by that Axis instance. (If you get any
information back, the Axis engine is of course up and running, but your
particular web service may not be deployed).

But you're client shouldn't assume the engine in use is always Axis.
What if it's a .NET web service your checking? Also, what if you're
hitting a web service not over HTTP, but over SMTP or some other
protocol? For these reasons, I think your supposed to write a ping()
method on your interface that takes a parameter and returns some
information, like the number of services available, their names, etc.

Ultimately, your supposed to connect your service to a service registry
to get this kind of information, and you ask the registry is this
particular web service up and available. But UDDI is very hard to work
with.
-jeff

 

-----Original Message-----
From: Demetris G [mailto:demetris@ece.neu.edu] 
Sent: Wednesday, June 13, 2007 5:57 PM
To: axis-user@ws.apache.org
Subject: Re: Axis engine


Hi Jeff,

    thanks for the pointers. I was wondering how this can be done 
programmatically
from inside a client application. Any ideas ?

Thanks

Walker, Jeff wrote:
> I run Tomcat 5.5.20 with Axis 1.3,
> and I hit this: http://127.0.0.1:8080/axis/
> Click on the 'List' link to see the web services you currently have
> deployed.
>
> Also, run the 'Happy Axis' test page, to make sure the correct
versions
> of the jars Axis needs have been deployed as well.
> http://localhost:8080/axis/happyaxis.jsp
>
> For Axis2, I'm sure it's similar.
> -jeff
>
>
>
>
>
> -----Original Message-----
> From: Demetris G [mailto:demetris@ece.neu.edu] 
> Sent: Wednesday, June 13, 2007 4:58 PM
> To: axis-user@ws.apache.org
> Subject: Axis engine
>
>
> What is the easiest way to test (check) if an Axis engine is running ?
> Send a POST or GET to it and catch an exception back ?
>
> Thanks
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
>
>   

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message