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