There is an 'IP tester' web service on xmethods. It can test is a site is 'down'.
See http://www.xmethods.net/ve2/ViewListing.po?serviceid=146666
Here is the java command line client and the output I get for nagoya.org
package tcpip.ws;
public class TCPIPTester {
public static void main(String [] args) throws Exception {
tcpip.ws.IP_Tool service = new tcpip.ws.IP_ToolLocator();
tcpip.ws.IP_ToolSoap oralena = service.getIP_ToolSoap();
tcpip.ws.IP_Info info = new IP_Info();
tcpip.ws.Version version = new Version();
String thisURL = "http://nagoya.apache.org";
long thisPort = 80;
System.out.println("IP_ToolSoap.isAlive(" + thisURL + ", " + thisPort + ") = " + oralena.isAlive(thisURL, thisPort));
}
}
> D:\ApacheApps\Tomcat\webapps\axis\samples\xmethods>java tcpip.ws.TCPIPTester -l
http://localhost/axis/servlet/AxisServlet
> IP_ToolSoap.isAlive(http://nagoya.apache.org, 80) = false
--Rey
--_______________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com