File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java SE 8 for the Really Impatient
this week in the
check web sevice availability/ connection
Joined: Oct 11, 2011
Oct 11, 2011 00:24:06
I am consuming web service using axis2.
I want to know that how can i check availability of web service, is it running or not in
through ping but i assume its not the good way to test the web service. there must be another way to test web service.
URL url = new URL("http://1xx.00.0.x/wsa/wsa1/wsdl?targetURI=proms");
connection = (
int res = connection.getResponseCode();
System.out.println("running : "+res);
So please reply soon its urgent.
I agree. Here's the link:
subject: check web sevice availability/ connection
HttpURLConnection Best Practices
Web Service Availability
Sending a http-request without waiting for response
View HTML source using Java?
DELETE http request in HttpURLConnection....
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014