java怎么測(cè)試webservice接口測(cè)試
3 回答

繁花不似錦
TA貢獻(xiàn)1851條經(jīng)驗(yàn) 獲得超4個(gè)贊
發(fā)個(gè)HTTP請(qǐng)求,看看返回結(jié)果。
String url = "wsurl...?wsdl";
HttpURLConnection connection = (HttpURLConnection) new URL(url).openConnection();
if(HttpURLConnection.HTTP_OK == connection.getResponseCode()){
//通了
}
添加回答
舉報(bào)
0/150
提交
取消