This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Ivan Krizsan wrote:Hi!
There are a couple options that you can use:
If the web service is a SOAP web service, or a REST web service with a WADL, then you can issue a HTTP HEAD request for the WSDL or WADL document.
Implement a special "ping" operation (SOAP) in the web service, or "ping" resource (REST), that you call (SOAP) or GET (REST).
Thank you very much for your response.
Finally, I've decided to implement a special "ping" operation. However, I tried the other option but it didn't work really well because I had some problems with the server certificate (the communication was throw https).