如何查看webservice 所有接口

2025-02-02 10:45:27
推荐回答(1个)
回答1:

发个HTTP请求,看看返回结果。
String url = "wsurl...?wsdl";
HttpURLConnection connection = (HttpURLConnection) new URL(url).openConnection();
if(HttpURLConnection.HTTP_OK == connection.getResponseCode()){
//通了
}