请求webService的几种方式

第一种,使用HttpURLConnection,post请求。须要传入路径以及xml报文,返回结果报文。app public String sendPost(String url, String param) {         PrintWriter out = null;         BufferedReader in = null;         String result = "";
相关文章
相关标签/搜索