Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

list of services deployed and running in server  RSS feed

 
phani bhushan reddy
Greenhorn
Posts: 27
Eclipse IDE Fedora Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to get list of all deployed web services services and running in a server?
 
sam barker
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you are using axis ,
youcan do the following(provided you are running the server on your machine)
http://localhost:8080/axis

And then choose "List services"
 
phani bhushan reddy
Greenhorn
Posts: 27
Eclipse IDE Fedora Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Sam,

Thanks for reply, but for me, requirement is to check services deployed and running in server using java program...

How can I monitor web services remotely ?

If anybody knows way to pass an event and handle in a program to other machine, when web service is down or having any problems?
 
Freddy Wong
Ranch Hand
Posts: 959
Eclipse IDE Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Like what Sam said, which web services stack? Axis, Axis2, Metro, etc?
 
Razi Abbas
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by phani bhushan reddy:
How can I monitor web services remotely ?


Phani,
If you are looking at "how to monitor the deployed web services and get auto informed when any of them is down", you may want to look the below options ...
<br>
Option 1: Monitor by checking if the yourWebService.wsdl is accesible
<br>
Option 2: Monitor by checking if the yourWebService returns an expected response for a pre-defined input.
<br>
Implementing Option 1 - Write a scheduled job which opens URL connection to a list of urls (the fully qualified service.wsdl url), for each of these see if the response not a http error. Regardless to say that you will have to modify this a bit if the webservice is not http based.
<br>
Implementing Option 2 - Similar to above except here you create a specific input (much like a test case) and send it the service. Parse the response to see if service is "not down" and is "responsive still" ...
<br>
Hope this helps ...

- Razi
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!